Skip to content

Commit

Permalink
fix tests to ignore version number
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-spiller committed Dec 29, 2019
1 parent ea120e7 commit 58278b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/correctness/Cor_009/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ def validate(self):
self.logFileContents('loganalyzer_output/logged_errors.txt', maxLines=0)
self.logFileContents('loganalyzer_output/logged_warnings.txt', maxLines=0)

self.assertDiff('loganalyzer_output/logged_errors.txt', 'ref-errors.txt')
self.assertDiff('loganalyzer_output/logged_warnings.txt', 'ref-warnings.txt')
self.assertDiff('loganalyzer_output/logged_errors.txt', 'ref-errors.txt', ignores=['log analyzer v'])
self.assertDiff('loganalyzer_output/logged_warnings.txt', 'ref-warnings.txt', ignores=['log analyzer v'])
6 changes: 3 additions & 3 deletions tests/correctness/Cor_011/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def validate(self):
self.checkForAnalyzerErrors(stdouterr='loganalyzer_java')
self.checkForAnalyzerErrors(stdouterr='loganalyzer_nonjava')

self.assertDiff('loganalyzer_java_output/logged_errors.txt', 'ref-java-errors.txt')
self.assertDiff('loganalyzer_java_output/logged_warnings.txt', 'ref-java-warnings.txt')
self.assertDiff('loganalyzer_nonjava_output/logged_errors.txt', 'ref-nonjava-errors.txt')
self.assertDiff('loganalyzer_java_output/logged_errors.txt', 'ref-java-errors.txt', ignores=['log analyzer v'])
self.assertDiff('loganalyzer_java_output/logged_warnings.txt', 'ref-java-warnings.txt', ignores=['log analyzer v'])
self.assertDiff('loganalyzer_nonjava_output/logged_errors.txt', 'ref-nonjava-errors.txt', ignores=['log analyzer v'])

0 comments on commit 58278b0

Please sign in to comment.