summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibTest
diff options
context:
space:
mode:
authordemostanis <demostanis@protonmail.com>2022-10-22 15:38:21 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-24 23:29:18 +0100
commit3e8b5ac92012e19847e536a20a3f0ec7e5c787d3 (patch)
tree58294f8f5e5eeaa63231876148da783ca81015eb /Userland/Libraries/LibTest
parentf485db2501c32bd626d58973c8a34a81e09ca5dc (diff)
downloadserenity-3e8b5ac92012e19847e536a20a3f0ec7e5c787d3.zip
AK+Everywhere: Turn bool keep_empty to an enum in split* functions
Diffstat (limited to 'Userland/Libraries/LibTest')
-rw-r--r--Userland/Libraries/LibTest/JavaScriptTestRunner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibTest/JavaScriptTestRunner.h b/Userland/Libraries/LibTest/JavaScriptTestRunner.h
index b2d4e01fe8..3971b1a450 100644
--- a/Userland/Libraries/LibTest/JavaScriptTestRunner.h
+++ b/Userland/Libraries/LibTest/JavaScriptTestRunner.h
@@ -522,7 +522,7 @@ inline void TestRunner::print_file_result(JSFileResult const& file_result) const
#endif
outln();
print_modifiers({ FG_GRAY });
- for (auto& message : test_error.hint.split('\n', true)) {
+ for (auto& message : test_error.hint.split('\n', SplitBehavior::KeepEmpty)) {
outln(" {}", message);
}
print_modifiers({ FG_RED });