Skip to content

Commit

Permalink
fix string
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Jan 7, 2024
1 parent a528aad commit 3ff81d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/biscuitsec/biscuit/token/SamplesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ DynamicTest process_testcase(final TestCase testCase, final PublicKey publicKey,
if (res.isLeft()) {
if(res.getLeft() instanceof Error) {
Error e = (Error) res.getLeft();
System.out.println("validation '\"+validationName+\"' got error: " + e);
System.out.println("validation '"+validationName+"' got error: " + e);
JsonElement err_json = e.toJson();
assertEquals(expected_result.get("Err"), err_json);
} else {
throw res.getLeft();
}
} else {
throw new Exception("validation '\"+validationName+\"' expected result error("+expected_result.get("Err")+"), got success: "+res.get());
throw new Exception("validation '"+validationName+"' expected result error("+expected_result.get("Err")+"), got success: "+res.get());
}
}
}
Expand Down

0 comments on commit 3ff81d3

Please sign in to comment.