Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4bdadc9

Browse files
committed
Adding missing but relevant REQUIRE statement
1 parent4bd4018 commit4bdadc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎test/src/String/test_concat.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ TEST_CASE ("Testing String::concat(const __FlashStringHelper *)", "[String-conca
9898
#defineF(string_literal) (reinterpret_cast<const arduino::__FlashStringHelper *>(PSTR(string_literal)))
9999
arduino::Stringstr1("Hello");
100100
REQUIRE(str1.concat(F(" Arduino")) ==1);
101+
REQUIRE(strcmp(str1.c_str(),"Hello Arduino") ==0);
101102
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp