Skip to content

Commit da7c641

Browse files
authored
Merge pull request ARMmbed#12386 from jamesbeyond/unittest-fix
TEST: fix a bug in ATCmdParser test
2 parents 3e62877 + 115f1cc commit da7c641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UNITTESTS/platform/ATCmdParser/test_ATCmdParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ TEST_F(test_ATCmdParser, test_ATCmdParser_recv)
345345

346346
expected_oob_callback = true;
347347
at1.oob("s", &urc_callback);
348-
EXPECT_TRUE(at1.recv("%c %d %x %s\r\n%c %d %x %s\r\n", &c, &intval, &hexval, &text));
348+
EXPECT_TRUE(at1.recv("%c %d %x %s\r\n%c %d %x %s\r\n", &c, &intval, &hexval, &text, &c, &intval, &hexval, &text));
349349
expected_oob_callback = false;
350350
EXPECT_EQ(c, 't');
351351
EXPECT_EQ(intval, 2);

0 commit comments

Comments
 (0)