Skip to content

Commit

Permalink
put assertion in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed Dec 5, 2022
1 parent d025456 commit fb3cd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/src/test/java/org/extism/sdk/ExtismTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public void testApp() {
System.out.print(plugin.getIndex());

byte[] b = plugin.call("count_vowels", "Hello World".getBytes());
String output =new String(b, StandardCharsets.UTF_8);

System.out.println(new String(b, StandardCharsets.UTF_8));
this.assertEquals("{\"count\": 3}", output);
}
}

0 comments on commit fb3cd5c

Please sign in to comment.