Skip to content

Commit eccbcce

Browse files
committed
Copy fixtures from fluent.js
1 parent a76040a commit eccbcce

19 files changed

+93
-71
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
foo = Value
22
.attr = Value 2
3-
# ~ERROR E0002, pos 12

tests/syntax/fixtures_behavior/indent.ftl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33

44
key2 = {
55
a }
6-
# ~ERROR E0014, pos 20
7-
# ~ERROR E0005, pos 23, args "a"
86
97
key3 = { a
108
}
11-
# ~ERROR E0003, pos 36, args "}"
129
1310
key4 = {
1411
{ a }}
15-
# ~ERROR E0014, pos 48

tests/syntax/fixtures_behavior/placeable_in_placeable.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ key2 = { { foo } }
88
# }
99

1010
key4 = { { foo }
11-
# ~ERROR E0003, pos 93, args "}"
11+
# ~ERROR E0003, pos 96, args "}"
1212

1313

1414
# key5 = { foo } }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
key = { $num
22
3-
# ~ERROR E0003, pos 12, args "}"
3+
# ~ERROR E0003, pos 14, args "}"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
key = Value
22
.label = Value
33
.accesskey = K
4-
# ~ERROR E0002, pos 31
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[[ This is a correct section ]]
1+
[[ This is a correct section ]]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
key = { $foo ->
2-
# ~ERROR E0003, pos 16, args " "
2+
# ~ERROR E0003, pos 16, args "["
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
bar = Bar {
2-
# ~ERROR E0014, pos 11
2+
# ~ERROR E0014, pos 12
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
key = { $foo ->
22
*[
3-
# ~ERROR E0004, pos 22, args "a-zA-Z"
3+
# ~ERROR E0013, pos 23

tests/syntax/fixtures_behavior/variant_lists.ftl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# ~ERROR E0014, pos 16
1+
# ~ERROR E0014, pos 25
22
message1 =
33
{
44
*[one] One
55
}
66
7-
# ~ERROR E0023, pos 118
7+
# ~ERROR E0023, pos 123
88
message2 =
99
{ $sel ->
1010
*[one] {
@@ -24,7 +24,7 @@ message2 =
2424
}
2525
}
2626
27-
# ~ERROR E0023, pos 313
27+
# ~ERROR E0023, pos 318
2828
-term3 =
2929
{ $sel ->
3030
*[one] {

0 commit comments

Comments
 (0)