Permalink
Browse files

Review change - removed redundant check

  • Loading branch information...
tr00per committed Oct 10, 2018
1 parent ef57e35 commit 6e7da5a2d85655ffab5ba5160cea7d8d91610927
Showing with 0 additions and 3 deletions.
  1. +0 −3 javase/src/test/java/net/glxn/qrgen/javase/QRCodeTest.java
@@ -253,7 +253,6 @@ public void shouldGetSvgFromTextAsStream() {
QRCode.from("www.example.org").svg(outs);
byte[] data = outs.toByteArray();
assertThat(data).isNotEmpty();
assertThat(data.length).isGreaterThan(0);
assertThat(data).startsWith("<?xml".getBytes());
assertThat(data).endsWith("</svg\n>\n".getBytes());
}
@@ -264,7 +263,6 @@ public void shouldGetSvgWithSizeFromTextAsStream() {
QRCode.from("www.example.com").withSize(250, 250).svg(outs);
byte[] data = outs.toByteArray();
assertThat(data).isNotEmpty();
assertThat(data.length).isGreaterThan(0);
assertThat(data).startsWith("<?xml".getBytes());
assertThat(data).endsWith("</svg\n>\n".getBytes());
}
@@ -275,7 +273,6 @@ public void shouldGetSvgWithSizeAndColorFromTextAsStream() {
QRCode.from("www.example.com").withSize(250, 250).withColor(30, 90).svg(outs);
byte[] data = outs.toByteArray();
assertThat(data).isNotEmpty();
assertThat(data.length).isGreaterThan(0);
assertThat(data).startsWith("<?xml".getBytes());
assertThat(data).endsWith("</svg\n>\n".getBytes());
}

0 comments on commit 6e7da5a

Please sign in to comment.