TEST: fix a bug in ATCmdParser test

pull/12386/head
Qinghao Shi 2020-02-07 00:44:00 +00:00
parent 8dc15ee6e1
commit 115f1cc9c8
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ TEST_F(test_ATCmdParser, test_ATCmdParser_recv)
expected_oob_callback = true;
at1.oob("s", &urc_callback);
EXPECT_TRUE(at1.recv("%c %d %x %s\r\n%c %d %x %s\r\n", &c, &intval, &hexval, &text));
EXPECT_TRUE(at1.recv("%c %d %x %s\r\n%c %d %x %s\r\n", &c, &intval, &hexval, &text, &c, &intval, &hexval, &text));
expected_oob_callback = false;
EXPECT_EQ(c, 't');
EXPECT_EQ(intval, 2);