[ELFAttributeParser] Update the ELFAttributeParserTest for 8f208ed

The 8f208ed has removed the "unrecognized vendor-name" error, updated
the unittest accordingly.
This commit is contained in:
Haojian Wu
2023-06-27 14:38:59 +02:00
parent 71299921d5
commit 975f71faa7

View File

@@ -45,11 +45,6 @@ TEST(AttributeHeaderParser, InvalidSectionLength) {
testParseError(bytes, "invalid section length 3 at offset 0x1");
}
TEST(AttributeHeaderParser, UnrecognizedVendorName) {
static const uint8_t bytes[] = {'A', 7, 0, 0, 0, 'x', 'y', 0};
testParseError(bytes, "unrecognized vendor-name: xy");
}
TEST(AttributeHeaderParser, UnrecognizedTag) {
static const uint8_t bytes[] = {'A', 14, 0, 0, 0, 't', 'e', 's',
't', 0, 4, 5, 0, 0, 0};