Skip to content

Commit ea28dd8

Browse files
author
jan
committed
Use different assert to get a better error message
1 parent 86684d7 commit ea28dd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

io.sloeber.tests/src/io/sloeber/core/BuildTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,8 +902,7 @@ public void issue1723() throws Exception {
902902
//There should be 1 lib in the project
903903
sloeberConf=ISloeberConfiguration.getActiveConfig(theTestProject, true);
904904
Map<IPath, IArduinoLibraryVersion> usedLibs=sloeberConf.getUsedLibraries();
905-
assertTrue(usedLibs.size()==1,"Private Lib not found");
906-
905+
assertEquals(1,usedLibs.size(),"Private Lib not found");
907906

908907
}
909908
}

0 commit comments

Comments
 (0)