Skip to content

Commit 4a84a5c

Browse files
Update PackChkIntegTests.cpp
changed message number
1 parent fdabbe6 commit 4a84a5c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/packchk/test/integtests/src/PackChkIntegTests.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -772,16 +772,16 @@ TEST_F(PackChkIntegTests, CheckUrlForHttp) {
772772
EXPECT_EQ(1, packChk.Check(2, argv, nullptr));
773773

774774
auto errMsgs = ErrLog::Get()->GetLogMessages();
775-
int M368_foundCnt = 0;
775+
int M300_foundCnt = 0;
776776
for (const string& msg : errMsgs) {
777777
size_t s;
778-
if ((s = msg.find("M368")) != string::npos) {
779-
M368_foundCnt++;
778+
if ((s = msg.find("M300")) != string::npos) {
779+
M300_foundCnt++;
780780
}
781781
}
782782

783-
if (M368_foundCnt != 8) {
784-
FAIL() << "error: missing message M368";
783+
if (M300_foundCnt != 8) {
784+
FAIL() << "error: missing message M300";
785785
}
786786
}
787787

0 commit comments

Comments
 (0)