summaryrefslogtreecommitdiff
path: root/main/tests/test_string.cpp
diff options
context:
space:
mode:
authormarxin <mliska@suse.cz>2019-02-22 15:38:49 +0100
committermarxin <mliska@suse.cz>2019-02-27 06:56:50 +0100
commitaff84ec55d8d0cc782eaa310b9f769291799d5fd (patch)
tree745f6a668d7ab7c97f9df6ab11b2808936749149 /main/tests/test_string.cpp
parentce114e35dda4b3f282abb458f8409db2369b279e (diff)
Fix -Wsuggest-attribute=format warnings.
Diffstat (limited to 'main/tests/test_string.cpp')
-rw-r--r--main/tests/test_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_string.cpp b/main/tests/test_string.cpp
index edc4fb0c97..3465fd783e 100644
--- a/main/tests/test_string.cpp
+++ b/main/tests/test_string.cpp
@@ -457,7 +457,7 @@ bool test_27() {
state = s.begins_with(sb) == tc[i].expected;
}
if (!state) {
- OS::get_singleton()->print("\n\t Failure on:\n\t\tstring: ", tc[i].data, "\n\t\tbegin: ", tc[i].begin, "\n\t\texpected: ", tc[i].expected ? "true" : "false", "\n");
+ OS::get_singleton()->print("\n\t Failure on:\n\t\tstring: %s\n\t\tbegin: %s\n\t\texpected: %s\n", tc[i].data, tc[i].begin, tc[i].expected ? "true" : "false");
break;
}
};