Francis Visoiu Mistrih 2019-10-16 16:35:09 +00:00
parent f998fa2924
commit 437f362c33
1 changed files with 3 additions and 4 deletions

View File

@ -720,14 +720,13 @@ TEST(YAMLRemarks, ParsingBadMeta) {
"\0\0\0\0\0\0\0\0"
"/path/",
30),
"'/path/': No such file or directory",
CmpType::Contains);
"'/path/'", CmpType::Contains);
parseExpectErrorMeta(StringRef("REMARKS\0"
"\0\0\0\0\0\0\0\0"
"\0\0\0\0\0\0\0\0"
"/path/",
30),
"'/baddir/path/': No such file or directory",
CmpType::Contains, StringRef("/baddir/"));
"'/baddir/path/'", CmpType::Contains,
StringRef("/baddir/"));
}