From e8972ec423d57c12e069051cfb23828cc36d9569 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sat, 30 Jul 2016 18:35:57 -0400 Subject: [PATCH] fix infinite loop --- source/styles/tests/test_number_format.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/styles/tests/test_number_format.hpp b/source/styles/tests/test_number_format.hpp index d0c2d1ee..0532afc4 100644 --- a/source/styles/tests/test_number_format.hpp +++ b/source/styles/tests/test_number_format.hpp @@ -518,7 +518,7 @@ public: void test_scientific() { xlnt::number_format nf; - nf.set_format_string("0E-0"); + nf.set_format_string("0.0E-0"); auto formatted = nf.format(6.1, xlnt::calendar::windows_1900); TS_ASSERT_EQUALS(formatted, "6.1E0"); }