Skip to content

Commit

Permalink
Fix tests on catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
yvrng committed Apr 8, 2024
1 parent 5dd9664 commit 8e38bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/amazon/ion/system/IonSystemBuilderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void testIonBinaryWriterBuilder()
assertSame(binaryWriterBuilder, systemBuilder.getIonBinaryWriterBuilder());

IonCatalog systemCatalog = new SimpleCatalog();
IonSystem system = systemBuilder.build();
IonSystem system = systemBuilder.withCatalog(systemCatalog).build();
assertSame(systemCatalog, system.getCatalog());
}

Expand All @@ -173,7 +173,7 @@ public void testIonReaderBuilder()
assertSame(readerBuilder, systemBuilder.getReaderBuilder());

IonCatalog systemCatalog = new SimpleCatalog();
IonSystem system = systemBuilder.build();
IonSystem system = systemBuilder.withCatalog(systemCatalog).build();
assertSame(systemCatalog, system.getCatalog());
}

Expand Down

0 comments on commit 8e38bd0

Please sign in to comment.