Skip to content

Commit 2a7f298

Browse files
committed
Fixed some tests using deprecated FTL syntax
1 parent cb94946 commit 2a7f298

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fluent.runtime/tests/format/test_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def setUp(self):
104104
ref-bar = { bar.missing }
105105
ref-baz = { baz.missing }
106106
ref-qux = { qux.missing }
107-
attr-only
107+
attr-only =
108108
.attr = Attr Only Attribute
109109
"""))
110110

fluent.runtime/tests/format/test_primitives.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def setUp(self):
1818
[Foo] Member 1
1919
*[Bar] Member 2
2020
}
21-
bar
21+
bar =
2222
.attr = Bar Attribute
2323
placeable-attr = { bar.attr }
2424
-baz = Baz
@@ -74,7 +74,7 @@ def setUp(self):
7474
7575
placeable-message = { bar }Baz
7676
77-
baz
77+
baz =
7878
.attr = { bar }BazAttribute
7979
8080
-qux = Qux

0 commit comments

Comments
 (0)