From: Mikko Rasa Date: Wed, 24 Apr 2013 13:40:27 +0000 (+0300) Subject: Add missing terminator entries to some test data arrays X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=87edba02a23b1338934e36fac407966b25fcf811;p=libs%2Fcore.git Add missing terminator entries to some test data arrays --- 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); }