File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,14 @@ public function extractTestCases(): \Generator
1919 $ testCase = json5_decode ($ testCaseJson );
2020
2121 $ testName = basename ($ testCasePath );
22+ if ($ testName === 'test_jsonpath_unicode__should_match.jsonc ' ) {
23+ var_dump ($ testCase ->context );
24+ }
25+
2226 yield $ testName => [[
2327 'context ' => EvaluationContext::fromJsonObject ($ testCase ->context ),
2428 'result ' => $ testCase ->result ,
29+ 'name ' => $ testName ,
2530 ]];
2631 }
2732 }
@@ -36,6 +41,11 @@ public function testEngine($case): void
3641 // When
3742 $ result = Engine::getEvaluationResult ($ case ['context ' ]);
3843
44+ if ($ case ['name ' ] === 'test_jsonpath_unicode__should_match.jsonc ' ) {
45+ var_dump ($ case );
46+ var_dump ($ result );
47+ }
48+
3949 // Then
4050 $ this ->assertEquals (
4151 json_decode (json_encode ($ case ['result ' ]), associative: true ),
You can’t perform that action at this time.
0 commit comments