compiletest: Trim the value of dont-require-annotations
This commit is contained in:
parent
ad72ba2e2c
commit
06dd9e2d20
10 changed files with 10 additions and 10 deletions
|
@ -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()));
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue