mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
fix STTx test
This commit is contained in:
@@ -1564,7 +1564,7 @@ public:
|
||||
}
|
||||
catch (std::exception const& ex)
|
||||
{
|
||||
BEAST_EXPECT(strcmp(ex.what(), "Unknown field") == 0);
|
||||
BEAST_EXPECT(strncmp(ex.what(), "Unknown field", 7) == 0);
|
||||
}
|
||||
|
||||
try
|
||||
@@ -1575,7 +1575,7 @@ public:
|
||||
}
|
||||
catch (std::exception const& ex)
|
||||
{
|
||||
BEAST_EXPECT(strcmp(ex.what(), "Unknown field") == 0);
|
||||
BEAST_EXPECT(strncmp(ex.what(), "Unknown field", 7) == 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user