Skip to content

Commit 75d78b9

Browse files
committed
Fix tests
1 parent 6c4fc85 commit 75d78b9

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# `foo` isn't provided by this diagnostic so it is expected that the fallback message is used.
2-
parser-struct-literal-body-without-path = this is a {$foo} message
2+
parser_struct_literal_body_without_path = this is a {$foo} message
33
.suggestion = this is a test suggestion
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `parser-struct-literal-body-without-path` isn't provided by this resource at all, so the
1+
# `parser_struct_literal_body_without_path` isn't provided by this resource at all, so the
22
# fallback should be used.
33
foo = bar
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
parser-struct-literal-body-without-path = this is a test message
1+
parser_struct_literal_body_without_path = this is a test message
22
.suggestion = this is a test suggestion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
missing-message =
1+
missing_message =

src/test/ui-fulldeps/fluent-messages/test.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ LL | missing_message => "./missing-message.ftl",
2222
|
2323
= help: see additional errors emitted
2424

25-
error: expected a message field for "missing-message"
25+
error: expected a message field for "missing_message"
2626
--> ./missing-message.ftl:1:1
2727
|
28-
1 | missing-message =
29-
| ^^^^^^^^^^^^^^^^^^
28+
1 | missing_message =
29+
| ^^^^^^^^^^^^^^^^^
3030
|
3131

3232
error: overrides existing message: `key`

0 commit comments

Comments
 (0)