Skip to content

Commit 9d84530

Browse files
committed
Minor style fix
1 parent b8c8c25 commit 9d84530

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/test/java/com/upokecenter/test/CBORObjectTest.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,15 +2077,13 @@ public void TestReadJSON() {
20772077
0x75,
20782078
0, 0x65 });
20792079
Assert.assertEquals(CBORObject.True, CBORObject.ReadJSON(msjson));
2080-
msjson = new java.io.ByteArrayInputStream(new byte[] { 0, 0x74, 0, 0x72, 0, 0x75, 0, 0x65
2081-
});
2080+
msjson = new java.io.ByteArrayInputStream(new byte[] { 0, 0x74, 0, 0x72, 0, 0x75, 0, 0x65 });
20822081
Assert.assertEquals(CBORObject.True, CBORObject.ReadJSON(msjson));
20832082
msjson = new java.io.ByteArrayInputStream(new byte[] { (byte)0xff, (byte)0xfe, 0x74, 0, 0x72, 0, 0x75,
20842083
0,
20852084
0x65, 0 });
20862085
Assert.assertEquals(CBORObject.True, CBORObject.ReadJSON(msjson));
2087-
msjson = new java.io.ByteArrayInputStream(new byte[] { 0x74, 0, 0x72, 0, 0x75, 0, 0x65, 0
2088-
});
2086+
msjson = new java.io.ByteArrayInputStream(new byte[] { 0x74, 0, 0x72, 0, 0x75, 0, 0x65, 0 });
20892087
Assert.assertEquals(CBORObject.True, CBORObject.ReadJSON(msjson));
20902088
msjson = new java.io.ByteArrayInputStream(new byte[] { (byte)0xef, (byte)0xbb, (byte)0xbf, 0x74, 0x72, 0x75,
20912089
0x65 });
@@ -2110,14 +2108,12 @@ public void TestReadJSON() {
21102108
msjson = new java.io.ByteArrayInputStream(new byte[] { (byte)0xfe, (byte)0xff, 0, 0x22, (byte)0xd8, 0,
21112109
(byte)0xdc, 0, 0, 0x22 });
21122110
Assert.assertEquals("\ud800\udc00", CBORObject.ReadJSON(msjson).AsString());
2113-
msjson = new java.io.ByteArrayInputStream(new byte[] { 0, 0x22, (byte)0xd8, 0, (byte)0xdc, 0, 0, 0x22
2114-
});
2111+
msjson = new java.io.ByteArrayInputStream(new byte[] { 0, 0x22, (byte)0xd8, 0, (byte)0xdc, 0, 0, 0x22 });
21152112
Assert.assertEquals("\ud800\udc00", CBORObject.ReadJSON(msjson).AsString());
21162113
msjson = new java.io.ByteArrayInputStream(new byte[] { (byte)0xff, (byte)0xfe, 0x22, 0, 0, (byte)0xd8, 0,
21172114
(byte)0xdc, 0x22, 0 });
21182115
Assert.assertEquals("\ud800\udc00", CBORObject.ReadJSON(msjson).AsString());
2119-
msjson = new java.io.ByteArrayInputStream(new byte[] { 0x22, 0, 0, (byte)0xd8, 0, (byte)0xdc, 0x22, 0
2120-
});
2116+
msjson = new java.io.ByteArrayInputStream(new byte[] { 0x22, 0, 0, (byte)0xd8, 0, (byte)0xdc, 0x22, 0 });
21212117
Assert.assertEquals("\ud800\udc00", CBORObject.ReadJSON(msjson).AsString());
21222118
msjson = new java.io.ByteArrayInputStream(new byte[] { 0, 0, (byte)0xfe, (byte)0xff, 0, 0, 0, 0x22,
21232119
0, 0, (byte)0xd8, 0, 0, 0, 0,
@@ -2192,8 +2188,7 @@ public void TestReadJSON() {
21922188
Assert.fail(ex.toString());
21932189
throw new IllegalStateException("", ex);
21942190
}
2195-
msjson = new java.io.ByteArrayInputStream(new byte[] { 0x22, 0, 0, (byte)0xdc, 0, (byte)0xdc, 0x22, 0
2196-
});
2191+
msjson = new java.io.ByteArrayInputStream(new byte[] { 0x22, 0, 0, (byte)0xdc, 0, (byte)0xdc, 0x22, 0 });
21972192
try {
21982193
CBORObject.ReadJSON(msjson);
21992194
Assert.fail("Should have failed");

0 commit comments

Comments
 (0)