mirror of
https://github.com/nlohmann/json.git
synced 2024-11-23 22:19:02 +08:00
✅ add test for #4440
This commit is contained in:
parent
b456b88dde
commit
a833cfde21
@ -953,7 +953,7 @@ TEST_CASE("regression tests 2")
|
||||
});
|
||||
json j = {1, 2, 3};
|
||||
auto filtered = j | noOpFilter;
|
||||
CHECK(j == *filtered.begin());
|
||||
CHECK(*filtered.begin() == 1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user