diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2021-12-28 01:20:05 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2021-12-28 01:20:05 +0100 |
commit | 329168c9f3b1e23f440f0c39fca421e1e226c391 (patch) | |
tree | eac3e6591621e70c88578eb3860292f3e16d23fb /jgvariant-ostree/src/test/java | |
parent | d6a25d1cfd834e5a218d37549b802dc137b563e7 (diff) |
OSTree: Use dictionary types where appropriate.
Change-Id: I58be4cbcdd663350d7524ec5ce97f1d3be10d7e1
Diffstat (limited to 'jgvariant-ostree/src/test/java')
-rw-r--r-- | jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java b/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java index 5e4d37c..05da7ed 100644 --- a/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java +++ b/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java @@ -10,6 +10,7 @@ import eu.mulk.jgvariant.core.Signature; import eu.mulk.jgvariant.core.Variant; import java.nio.ByteBuffer; import java.util.List; +import java.util.Map; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -57,10 +58,9 @@ class OstreeDecoderTest { Checksum.ofHex( "66ff167ff35ce87daac817447a9490a262ee75f095f017716a6eb1a9d9eb3350"), new Metadata( - List.of( - new Metadata.Field( - "ostree.commit.timestamp", - new Variant(Signature.parse("t"), 1640537170L))))))), + Map.of( + "ostree.commit.timestamp", + new Variant(Signature.parse("t"), 1640537170L)))))), summary.entries())); // FIXME: check metadata field System.out.println(summary); |