Skip to content

Commit

Permalink
update c search test for new locations of EXIT_* constants in stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
ervandew committed May 30, 2017
1 parent 1e213b5 commit 7a08971
Showing 1 changed file with 3 additions and 3 deletions.
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2005 - 2015 Eric Van Dewoestine
* Copyright (C) 2005 - 2017 Eric Van Dewoestine
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -162,7 +162,7 @@ public void searchElement()
assertEquals(result.get("message"), "");
assertEquals(result.get("column"), 9);
int line = ((Integer)result.get("line")).intValue();
assertTrue(line > 130 && line < 140);
assertTrue(line > 50 && line < 150);
}
}

Expand Down Expand Up @@ -212,7 +212,7 @@ public void searchConstant()
"#define EXIT_FAILURE 1 /* Failing exit status. */");
assertEquals(result.get("column"), 9);
int line = ((Integer)result.get("line")).intValue();
assertTrue(line > 130 && line < 140);
assertTrue(line > 50 && line < 150);
}
}

Expand Down

0 comments on commit 7a08971

Please sign in to comment.