Skip to content

Commit

Permalink
minor refactor in test
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Feb 7, 2025
1 parent e56daea commit e836cf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/com/esaulpaugh/headlong/cli/DesugarTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public class DesugarTest {

@Test
public void testBool() throws Throwable {
TupleType tt = TupleType.parse("(bool)");
Tuple _true = Single.of(true);
Tuple _false = Single.of(false);
TupleType<Single<Boolean>> tt = TupleType.parse("(bool)");
Single<Boolean> _true = Single.of(true);
Single<Boolean> _false = Single.of(false);

assertEquals("01", SuperSerial.serialize(tt, _true, true));
assertEquals("80", SuperSerial.serialize(tt, _false, true));
Expand Down

0 comments on commit e836cf0

Please sign in to comment.