Skip to content

Commit

Permalink
add an extra term to test fixtures to get better test coverage of inl…
Browse files Browse the repository at this point in the history
…ine_expression resolver
  • Loading branch information
JasperDeSutter committed Jan 28, 2023
1 parent dae6f21 commit a1229ca
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion fluent-bundle/tests/fixtures/macros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ suites:
*[traditional] neuter
[chicago] feminine
}
.floats = true
ref-attr = {-ship.gender ->
*[masculine] He
[feminine] She
Expand All @@ -333,6 +334,10 @@ suites:
[feminine] She
[neuter] It
}
more-than-one-attr = {-ship.floats ->
*[false] is sinking
[true] is floating around happily
}
tests:
-
name: Not parameterized, no externals
Expand Down Expand Up @@ -389,4 +394,10 @@ suites:
id: call-attr-with-other-arg
args:
style: chicago
value: It
value: It
-
name: For term with multiple attributes
asserts:
-
id: more-than-one-attr
value: is floating around happily

0 comments on commit a1229ca

Please sign in to comment.