Skip to content

Commit

Permalink
fix the abi tests for diagnostics positions feature (#4572)
Browse files Browse the repository at this point in the history
  • Loading branch information
hnampally authored Dec 28, 2024
1 parent 5ff90d9 commit 69c8758
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/abi/config/default.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ TEST_CASE("default namespace")
expected += "_diag";
#endif

#if JSON_DIAGNOSTIC_POSITIONS
expected += "_dp";
#endif

#if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
expected += "_ldvcmp";
#endif
Expand Down
4 changes: 4 additions & 0 deletions tests/abi/config/noversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ TEST_CASE("default namespace without version component")
expected += "_diag";
#endif

#if JSON_DIAGNOSTIC_POSITIONS
expected += "_dp";
#endif

#if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
expected += "_ldvcmp";
#endif
Expand Down

0 comments on commit 69c8758

Please sign in to comment.