Skip to content

Commit

Permalink
Fix clang 3.5 failures
Browse files Browse the repository at this point in the history
  • Loading branch information
grisumbras committed Dec 3, 2021
1 parent c847a3b commit 6a02215
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/value.cpp
Expand Up @@ -2098,7 +2098,7 @@ class value_test
BOOST_TEST(check_hash_equal(value(nullptr), value()));
BOOST_TEST(check_hash_equal(value(nullptr), value{}));
BOOST_TEST(expect_hash_not_equal(value(nullptr), value({})));
BOOST_TEST(expect_hash_not_equal(value(nullptr), value({{}})));
BOOST_TEST(expect_hash_not_equal(value(nullptr), value({object()})));
BOOST_TEST(expect_hash_not_equal(value(nullptr), value(true)));
BOOST_TEST(expect_hash_not_equal(value(nullptr), value(false)));
BOOST_TEST(expect_hash_not_equal(value(nullptr), value(0)));
Expand All @@ -2120,9 +2120,9 @@ class value_test
BOOST_TEST(expect_hash_not_equal(value(2021U), value(-2021)));
BOOST_TEST(expect_hash_not_equal(value(2021UL), value(2021.0)));

BOOST_TEST(expect_hash_not_equal(value({}), value({{}})));
BOOST_TEST(expect_hash_not_equal(value({}), value({object()})));
BOOST_TEST(expect_hash_not_equal(value({}), value("")));
BOOST_TEST(expect_hash_not_equal(value({{}}), value("")));
BOOST_TEST(expect_hash_not_equal(value({object()}), value("")));

BOOST_TEST(check_hash_equal(
value({{"a",1}, {"b",2}, {"c",3}}),
Expand Down

0 comments on commit 6a02215

Please sign in to comment.