From 3716e480457bafc9d24bc5631d98f0541740af20 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Wed, 21 Mar 2018 22:57:55 +0100 Subject: [PATCH] Unit tests update --- src/test/fstring-test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/fstring-test.cpp b/src/test/fstring-test.cpp index 30f58f1c..70b01e43 100644 --- a/src/test/fstring-test.cpp +++ b/src/test/fstring-test.cpp @@ -1004,15 +1004,15 @@ void FStringTest::formatTest() + "ooong string" ); const FString null_fstring; - str2.sprintf (null_fstring); + str2.sprintf (null_fstring, 0); CPPUNIT_ASSERT ( str2.isNull() ); const wchar_t* null_wstring = 0; - str2.sprintf (null_wstring); + str2.sprintf (null_wstring, 0); CPPUNIT_ASSERT ( str2.isNull() ); - const char* null_string = 0; - str2.sprintf (null_string); + const char* null_string = 0; + str2.sprintf (null_string, 0); CPPUNIT_ASSERT ( str2.isNull() ); std::setlocale (LC_NUMERIC, "C");