aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/eu
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2021-12-12 21:23:53 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2021-12-12 21:23:53 +0100
commit4c32c3998476e12c34984d52253eaa4ae3bf6769 (patch)
tree62787608ad6caa5aef974d6a96da24cebbb21667 /src/test/java/eu
parent261532a25244be9562700aa95a91c1c71adb8405 (diff)
Javadocs and README.
Change-Id: I10d7cb87ca22475f3f73fb25acd813aa1f8d2bb8
Diffstat (limited to 'src/test/java/eu')
-rw-r--r--src/test/java/eu/mulk/jgvariant/core/DecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/eu/mulk/jgvariant/core/DecoderTest.java b/src/test/java/eu/mulk/jgvariant/core/DecoderTest.java
index 4deb8bc..13cd398 100644
--- a/src/test/java/eu/mulk/jgvariant/core/DecoderTest.java
+++ b/src/test/java/eu/mulk/jgvariant/core/DecoderTest.java
@@ -41,7 +41,7 @@ class DecoderTest {
@Test
void testBooleanArray() {
var data = new byte[] {0x01, 0x00, 0x00, 0x01, 0x01};
- var decoder = Decoder.ofArray(Decoder.ofBoolean());
+ var decoder = Decoder.ofArray(Decoder.ofBool());
assertEquals(
new Array<>(List.of(Bool.TRUE, Bool.FALSE, Bool.FALSE, Bool.TRUE, Bool.TRUE)),
decoder.decode(ByteBuffer.wrap(data)));