aboutsummaryrefslogtreecommitdiff
path: root/jgvariant-ostree/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'jgvariant-ostree/src/test/java')
-rw-r--r--jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java8
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);