mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Fix tests
This commit is contained in:
parent
6c4fc85f9c
commit
75d78b9362
@ -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…
Reference in New Issue
Block a user