Skip to content

Commit

Permalink
add test for repeating list items with varying parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
reschke committed Jan 29, 2024
1 parent 66b9855 commit 5ce6520
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/java/org/greenbytes/http/sfv/Tests.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public void testValidLists() {
tests.put("1;a, 1.1, \"foo\", ?0, a2, :Zg==:", new Object[] { 1L, ";a", BigDecimal.valueOf(1100, 3), EMPTY, "foo", EMPTY,
Boolean.FALSE, EMPTY, "a2", EMPTY, ByteSequenceItem.valueOf("f".getBytes()).get(), EMPTY });
tests.put("1, ();a", new Object[] { 1L, EMPTY, Collections.emptyList(), ";a" });
tests.put("\"foo\";x, \"bar\", \"foo\";y", new Object[] { "foo", ";x", "bar", EMPTY, "foo", ";y" });

tests.put("@12345, 123;created=@-1, 12.3", new Object[] { 12345L, EMPTY, 123L, ";created=@-1", BigDecimal.valueOf(12300, 3), EMPTY });

Expand Down

0 comments on commit 5ce6520

Please sign in to comment.