From 87edba02a23b1338934e36fac407966b25fcf811 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 24 Apr 2013 16:40:27 +0300 Subject: [PATCH] Add missing terminator entries to some test data arrays --- tests/lexicalcast.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lexicalcast.cpp b/tests/lexicalcast.cpp index 2a4a787..37439fc 100644 --- a/tests/lexicalcast.cpp +++ b/tests/lexicalcast.cpp @@ -99,6 +99,7 @@ void LexicalCastTests::oct_integers() { 012345, "%#08o", "00012345" }, { 012345, "%+#o", "+012345" }, { -012345, "%#o", "-012345" }, + { 0, 0, 0 } }; test_values(values); } @@ -114,6 +115,7 @@ void LexicalCastTests::bin_integers() { 0xcf3, "%#016b", "0b00110011110011" }, { 0xcf3, "%+#b", "+0b110011110011" }, { -0xcf3, "%#b", "-0b110011110011" }, + { 0, 0, 0 } }; test_values(values); } -- 2.45.2