Skip to content

Commit 4727e23

Browse files
Debug
1 parent 40de90f commit 4727e23

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/Engine/EngineTests/EngineDataTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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),

0 commit comments

Comments
 (0)