Fix tests

This commit is contained in:
est31 2022-08-10 22:03:45 +02:00
parent 6c4fc85f9c
commit 75d78b9362
5 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
# `foo` isn't provided by this diagnostic so it is expected that the fallback message is used.
parser-struct-literal-body-without-path = this is a {$foo} message
parser_struct_literal_body_without_path = this is a {$foo} message
.suggestion = this is a test suggestion

View File

@ -1,3 +1,3 @@
# `parser-struct-literal-body-without-path` isn't provided by this resource at all, so the
# `parser_struct_literal_body_without_path` isn't provided by this resource at all, so the
# fallback should be used.
foo = bar

View File

@ -1,2 +1,2 @@
parser-struct-literal-body-without-path = this is a test message
parser_struct_literal_body_without_path = this is a test message
.suggestion = this is a test suggestion

View File

@ -1 +1 @@
missing-message =
missing_message =

View File

@ -22,11 +22,11 @@ LL | missing_message => "./missing-message.ftl",
|
= help: see additional errors emitted
error: expected a message field for "missing-message"
error: expected a message field for "missing_message"
--> ./missing-message.ftl:1:1
|
1 | missing-message =
| ^^^^^^^^^^^^^^^^^^
1 | missing_message =
| ^^^^^^^^^^^^^^^^^
|
error: overrides existing message: `key`