@@ -57,12 +57,10 @@ public function __construct()
5757$ expectedOutput = <<<'EOF'
5858test/unit/vendor/lime/fixtures/failed................................not ok
5959 Failed tests: 1
60- test/unit/vendor/lime/fixtures/failed_with_plan_less_than_total......dubious
61- Test returned status 255
60+ test/unit/vendor/lime/fixtures/failed_with_plan_less_than_total......not ok
6261 Looks like you planned 1 test but ran 1 extra.
6362 Failed tests: 1
64- test/unit/vendor/lime/fixtures/failed_with_plan_more_than_total......dubious
65- Test returned status 255
63+ test/unit/vendor/lime/fixtures/failed_with_plan_more_than_total......not ok
6664 Looks like you planned 2 tests but only ran 1.
6765 Failed tests: 1
6866test/unit/vendor/lime/fixtures/pass..................................ok
@@ -74,9 +72,9 @@ public function __construct()
7472 Looks like you planned 2 tests but only ran 1.
7573Failed Test Stat Total Fail Errors List of Failed
7674--------------------------------------------------------------------------
77- it/vendor/lime/fixtures/failed 0 1 1 0 1
78- iled_with_plan_less_than_total 255 2 1 0 1
79- iled_with_plan_more_than_total 255 1 1 0 1
75+ it/vendor/lime/fixtures/failed 1 1 1 0 1
76+ iled_with_plan_less_than_total 1 2 1 0 1
77+ iled_with_plan_more_than_total 1 1 1 0 1
8078pass_with_plan_less_than_total 255 2 0 0
8179pass_with_plan_more_than_total 255 1 0 0
8280Failed 5/6 test scripts, 16.67% okay. 5/10 subtests failed, 50.00% okay.
@@ -112,7 +110,7 @@ public function __construct()
112110whenExecutePhpFileWillHaveStatusCodeAndOutput ($ harness , $ test , $ name , $ expectedStatusCode , $ expectedOutput );
113111
114112$ name = 'failed ' ;
115- $ expectedStatusCode = 0 ;
113+ $ expectedStatusCode = 1 ;
116114$ expectedOutput = <<<'EOF'
117115not ok 1
118116# Failed test (./test/unit/vendor/lime/fixtures/failed.php at line 7)
@@ -125,7 +123,7 @@ public function __construct()
125123whenExecutePhpFileWillHaveStatusCodeAndOutput ($ harness , $ test , $ name , $ expectedStatusCode , $ expectedOutput );
126124
127125$ name = 'failed_with_plan_less_than_total ' ;
128- $ expectedStatusCode = 0 ;
126+ $ expectedStatusCode = 1 ;
129127$ expectedOutput = <<<'EOF'
1301281..1
131129not ok 1
@@ -140,7 +138,7 @@ public function __construct()
140138whenExecutePhpFileWillHaveStatusCodeAndOutput ($ harness , $ test , $ name , $ expectedStatusCode , $ expectedOutput );
141139
142140$ name = 'failed_with_plan_more_than_total ' ;
143- $ expectedStatusCode = 0 ;
141+ $ expectedStatusCode = 1 ;
144142$ expectedOutput = <<<'EOF'
1451431..2
146144not ok 1
@@ -154,7 +152,7 @@ public function __construct()
154152whenExecutePhpFileWillHaveStatusCodeAndOutput ($ harness , $ test , $ name , $ expectedStatusCode , $ expectedOutput );
155153
156154$ name = 'pass_with_plan_less_than_total ' ;
157- $ expectedStatusCode = 0 ;
155+ $ expectedStatusCode = 255 ;
158156$ expectedOutput = <<<'EOF'
1591571..1
160158ok 1
@@ -165,7 +163,7 @@ public function __construct()
165163whenExecutePhpFileWillHaveStatusCodeAndOutput ($ harness , $ test , $ name , $ expectedStatusCode , $ expectedOutput );
166164
167165$ name = 'pass_with_plan_more_than_total ' ;
168- $ expectedStatusCode = 0 ;
166+ $ expectedStatusCode = 255 ;
169167$ expectedOutput = <<<'EOF'
1701681..2
171169ok 1
0 commit comments