diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-05-17 16:04:04 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-05-17 16:04:04 +0300 |
commit | a25193cc5da6a271c4676e843db80ee19221822a (patch) | |
tree | db764696f2e663016a9ab87a95846501c585b4aa /regression-testing/run-test-detokenizer.perl | |
parent | 108da163745699e724f581c3d33b1e8a5e26a9e9 (diff) |
Fix a lot of lint, mostly trailing whitespace.
This is lint reported by the new lint-checking functionality in beautify.py.
(We can change to a different lint checker if we have a better one, but it
would probably still flag these same problems.)
Lint checking can help a lot, but only if we get the lint under control.
Diffstat (limited to 'regression-testing/run-test-detokenizer.perl')
-rwxr-xr-x | regression-testing/run-test-detokenizer.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regression-testing/run-test-detokenizer.perl b/regression-testing/run-test-detokenizer.perl index e297b90be..9e5888ed0 100755 --- a/regression-testing/run-test-detokenizer.perl +++ b/regression-testing/run-test-detokenizer.perl @@ -166,12 +166,12 @@ sub runDetokenizerTest { unless (mkdir($testOutputDir)) { return fail($testCase->getName().": Failed to create output directory ".$testOutputDir." [".$!."]"); } - + open TOK, ">".$tokenizedFile; binmode TOK, ":utf8"; print TOK $testCase->getTokenizedText(); close TOK; - + open TRUTH, ">".$expectedFile; binmode TRUTH, ":utf8"; print TRUTH $testCase->getRightAnswer(); |