From 4140f24678fc70bb4ddf82a59b1bce49f09e571c Mon Sep 17 00:00:00 2001 From: Lenard Szolnoki Date: Tue, 4 Jul 2017 00:17:59 +0200 Subject: [PATCH] Fix integration test octal value. --- test/integration/load_node_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/load_node_test.cpp b/test/integration/load_node_test.cpp index ff0a3ae..44ea870 100644 --- a/test/integration/load_node_test.cpp +++ b/test/integration/load_node_test.cpp @@ -20,7 +20,7 @@ TEST(LoadNodeTest, FallbackValues) { } TEST(LoadNodeTest, NumericConversion) { - Node node = Load("[1.5, 1, .nan, .inf, -.inf, 0x15, 015]"); + Node node = Load("[1.5, 1, .nan, .inf, -.inf, 0x15, 0o15]"); EXPECT_EQ(1.5f, node[0].as()); EXPECT_EQ(1.5, node[0].as()); EXPECT_THROW(node[0].as(), TypedBadConversion);