Skip to content
Snippets Groups Projects
Commit 10237e90 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

assert error message is more verbose

parent fc9c3548
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!513Resolve "Compartment annotation"
......@@ -251,7 +251,7 @@ public class ModelAnnotatorTest extends AnnotationTestFunctions {
Reaction reaction = new Reaction();
reaction.addMiriamData(new MiriamData(MiriamType.PUBMED, "12345"));
List<ImproperAnnotations> result = modelAnnotator.findImproperAnnotations(reaction, list);
assertEquals(0, result.size());
assertEquals("Unexpected improper annotations found: "+result, 0, result.size());
} catch (Exception e) {
e.printStackTrace();
throw e;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment