Skip to content

Commit

Permalink
string test
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 9, 2024
1 parent 4118f36 commit 9d6f47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/tests/types/test_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,5 @@ MARLIN_TEST(types, SString) {
str += "^ eol!";
str.append(" ... ", 1234.5f, '*', p_float_t(2345.602, 3), F(" = "), 1234.5 * 2345.602);

TEST_ASSERT_TRUE(strcmp_P(str, PSTR("Hello World!-123456------ < spaces!33\n^ eol!...1234.50*2345.602 = 2895645.67")) == 0);
TEST_ASSERT_TRUE(strcmp_P(str, PSTR("Hello World!-123456------ < spaces!33\n^ eol! ... 1234.50*2345.602 = 2895645.67")) == 0);
}

0 comments on commit 9d6f47d

Please sign in to comment.