From 329168c9f3b1e23f440f0c39fca421e1e226c391 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 28 Dec 2021 01:20:05 +0100 Subject: OSTree: Use dictionary types where appropriate. Change-Id: I58be4cbcdd663350d7524ec5ce97f1d3be10d7e1 --- .../src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'jgvariant-ostree/src/test/java/eu') 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); -- cgit v1.2.3