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

unit test fixed to pass also on linux

parent 16ed8d86
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,9 @@ public class FontFinderTest { ...@@ -76,7 +76,9 @@ public class FontFinderTest {
// //
// Desktop.getDesktop().open(new File("tmp.png")); // Desktop.getDesktop().open(new File("tmp.png"));
assertEquals(20, (int) size); //different os compute it differnetly ...
assertTrue(size>18);
assertTrue(size<=20);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
throw e; 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