Skip to content

Commit a1229ca

Browse files
add an extra term to test fixtures to get better test coverage of inline_expression resolver
1 parent dae6f21 commit a1229ca

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

fluent-bundle/tests/fixtures/macros.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ suites:
313313
*[traditional] neuter
314314
[chicago] feminine
315315
}
316+
.floats = true
316317
ref-attr = {-ship.gender ->
317318
*[masculine] He
318319
[feminine] She
@@ -333,6 +334,10 @@ suites:
333334
[feminine] She
334335
[neuter] It
335336
}
337+
more-than-one-attr = {-ship.floats ->
338+
*[false] is sinking
339+
[true] is floating around happily
340+
}
336341
tests:
337342
-
338343
name: Not parameterized, no externals
@@ -389,4 +394,10 @@ suites:
389394
id: call-attr-with-other-arg
390395
args:
391396
style: chicago
392-
value: It
397+
value: It
398+
-
399+
name: For term with multiple attributes
400+
asserts:
401+
-
402+
id: more-than-one-attr
403+
value: is floating around happily

0 commit comments

Comments
 (0)