Skip to content

Commit

Permalink
Update expected SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Sep 23, 2023
1 parent 6bd8506 commit 341e673
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,6 @@ void should_include_awslib() throws IOException, InterruptedException {
void should_include_openiconic() throws IOException, InterruptedException {
String diagram = "listopeniconic";
byte[] convert = plantumlCommand.convert(diagram, FileFormat.SVG, new JsonObject());
System.out.println(new String(convert));
Pattern pattern = Pattern.compile("<path d=");
String output = new String(convert);
int countOccurrences= (output.length() - output.replace("<path d=\"", "").length()) / "<path d=\"".length();
assertThat(countOccurrences).isEqualTo(223); // 223 icons
Expand Down
2 changes: 1 addition & 1 deletion server/src/test/resources/aws.expected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion server/src/test/resources/bigbank.containers.expected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 341e673

Please sign in to comment.