Explorar o código

Fix support for testing exit code

The `$sectionData` was being overwritten, causing its assertion 
(`$this->assertSame()`) to fail.
Jad Bitar %!s(int64=8) %!d(string=hai) anos
pai
achega
8625efd551
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/Composer/Test/AllFunctionalTest.php

+ 1 - 0
tests/Composer/Test/AllFunctionalTest.php

@@ -183,6 +183,7 @@ class AllFunctionalTest extends TestCase
 
                 case 'EXPECT-EXIT-CODE':
                     $sectionData = (integer) $sectionData;
+                    break;
 
                 case 'EXPECT':
                 case 'EXPECT-REGEX':