Skip to content

Commit cec0474

Browse files
committed
fix the abi tests for diagnostics positions feature
1 parent 6be4e85 commit cec0474

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/abi/config/default.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ TEST_CASE("default namespace")
2424
expected += "_diag";
2525
#endif
2626

27+
#if JSON_DIAGNOSTIC_POSITIONS
28+
expected += "_dp";
29+
#endif
30+
2731
#if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
2832
expected += "_ldvcmp";
2933
#endif

tests/abi/config/noversion.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ TEST_CASE("default namespace without version component")
2525
expected += "_diag";
2626
#endif
2727

28+
#if JSON_DIAGNOSTIC_POSITIONS
29+
expected += "_dp";
30+
#endif
31+
2832
#if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
2933
expected += "_ldvcmp";
3034
#endif

0 commit comments

Comments
 (0)