File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -214,23 +214,31 @@ def test_select_expression(self):
214214 """
215215 self .assertEqual (pretty_ftl (input ), dedent_ftl (input ))
216216
217- @unittest .skip ("Parsing error" )
217+ # XXX The variant contains a new-line so the serializer defaults to
218+ # multiline formatting for all of its contents.
219+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1397760
218220 def test_variant_multiline_first_inline (self ):
219221 input = """\
220222 foo = {
221223 *[a] AAA
222224 BBB
223225 }
224226 """
225- self .assertEqual (pretty_ftl (input ), dedent_ftl (input ))
227+ output = """\
228+ foo = {
229+ *[a]
230+ AAA
231+ BBB
232+ }
233+ """
234+ self .assertEqual (pretty_ftl (input ), dedent_ftl (output ))
226235
227- @unittest .skip ("Parsing error" )
228236 def test_variant_multiline (self ):
229237 input = """\
230238 foo = {
231239 *[a]
232- AAA
233- BBB
240+ AAA
241+ BBB
234242 }
235243 """
236244 self .assertEqual (pretty_ftl (input ), dedent_ftl (input ))
You can’t perform that action at this time.
0 commit comments