Fix tests
This commit is contained in:
parent
6c4fc85f9c
commit
75d78b9362
5 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
missing-message =
|
||||
missing_message =
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue