Changeset View
Changeset View
Standalone View
Standalone View
src/parser/xhpast/__tests__/PHPASTParserTestCase.php
| Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | foreach ($options as $key => $value) { | ||||
| throw new Exception( | throw new Exception( | ||||
| pht( | pht( | ||||
| 'Test file "%s" unexpectedly specifies multiple expected ', | 'Test file "%s" unexpectedly specifies multiple expected ', | ||||
| 'test outcomes.', | 'test outcomes.', | ||||
| $name)); | $name)); | ||||
| } | } | ||||
| $type = $key; | $type = $key; | ||||
| break; | break; | ||||
| case 'comment': | |||||
| // Human readable comment providing test case information. | |||||
| break; | |||||
| default: | default: | ||||
| throw new Exception( | throw new Exception( | ||||
| pht( | pht( | ||||
| 'Test file "%s" has unknown option "%s" in its options '. | 'Test file "%s" has unknown option "%s" in its options '. | ||||
| 'string.', | 'string.', | ||||
| $name, | $name, | ||||
| $key)); | $key)); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines | |||||