We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc41b3c commit 424d26dCopy full SHA for 424d26d
code/tests/cases/test_text.cpp
@@ -45,13 +45,13 @@ using fossil::media::Text;
45
FOSSIL_TEST_CASE(cpp_test_text_trim_basic) {
46
std::string input = " hello world ";
47
std::string trimmed = Text::trim(input);
48
- ASSUME_ITS_TRUE(trimmed == "hello world");
+ ASSUME_ITS_EQUAL_CSTR(trimmed, "hello world");
49
}
50
51
FOSSIL_TEST_CASE(cpp_test_text_trim_all_spaces) {
52
std::string input = " ";
53
54
- ASSUME_ITS_TRUE(trimmed == "");
+ ASSUME_ITS_TRUE(trimmed.empty());
55
56
57
FOSSIL_TEST_CASE(cpp_test_text_trim_no_spaces) {
0 commit comments