Skip to content

Commit

Permalink
update this test
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Oct 9, 2024
1 parent e1a2801 commit 282b3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/strfmt-tests.typ
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
assert.eq(strfmt("{:e}", 5555.2, fmt-thousands-separator: "_", fmt-decimal-separator: "heap"), "5heap5552e3")
assert.eq(strfmt("{:010}", 5555.2, fmt-thousands-separator: "_", fmt-decimal-separator: ""), "00_005_555€2")
assert.eq(strfmt("{:€>10}", 5555.2, fmt-thousands-separator: "_", fmt-decimal-separator: ""), "€€€5_555€2")
assert.eq(strfmt("{:€>10}", 5555.2, fmt-thousands-separator: "", fmt-decimal-separator: ""), "€€€5€555€2")
assert.eq(strfmt("{:€>10}", 5555.2, fmt-thousands-separator: "a", fmt-decimal-separator: ""), "€€5€a555€2")

// Test count
assert.eq(strfmt("{}", 10, fmt-thousands-count: 3, fmt-thousands-separator: "_"), "10")
Expand Down

0 comments on commit 282b3a0

Please sign in to comment.