mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49: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};
|
json j = {1, 2, 3};
|
||||||
auto filtered = j | noOpFilter;
|
auto filtered = j | noOpFilter;
|
||||||
CHECK(j == *filtered.begin());
|
CHECK(*filtered.begin() == 1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user