compiletest: Trim the value of dont-require-annotations

This commit is contained in:
Vadim Petrochenkov 2025-04-10 23:39:05 +03:00
parent ad72ba2e2c
commit 06dd9e2d20
10 changed files with 10 additions and 10 deletions

View file

@ -580,7 +580,7 @@ impl TestProps {
config.parse_name_value_directive(ln, DONT_REQUIRE_ANNOTATIONS)
{
self.dont_require_annotations
.insert(ErrorKind::expect_from_user_str(&err_kind));
.insert(ErrorKind::expect_from_user_str(err_kind.trim()));
}
},
);