From 731bdf7a06e62ca3b00c9f15b0089f0dac90e1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C5=8Dshin?= Date: Thu, 6 Jun 2024 16:26:38 -0700 Subject: [PATCH] longer test string --- test/ctl/string_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/ctl/string_test.cc b/test/ctl/string_test.cc index 264edbbbc..1a35cfda3 100644 --- a/test/ctl/string_test.cc +++ b/test/ctl/string_test.cc @@ -308,10 +308,11 @@ main() s.append(" world"); if (s != "hello world") return 63; - for (int i = 0; i < 4; ++i) { + for (int i = 0; i < 10; ++i) { s.append(" world"); } - if (s != "hello world world world world world") { + if (s != "hello world world world world world world world world world " + "world world") { return 64; } }