| Index: third_party/closure_linter/closure_linter/common/filetestcase.py
|
| diff --git a/third_party/closure_linter/closure_linter/common/filetestcase.py b/third_party/closure_linter/closure_linter/common/filetestcase.py
|
| index 8f0532c94f92aba39257b24d4d2b9d4af2e364b7..7cd83cd1dcf58c0cb11ae510a939c5841c19c93b 100755
|
| --- a/third_party/closure_linter/closure_linter/common/filetestcase.py
|
| +++ b/third_party/closure_linter/closure_linter/common/filetestcase.py
|
| @@ -25,6 +25,7 @@ __author__ = ('robbyw@google.com (Robert Walker)',
|
|
|
| import re
|
|
|
| +import gflags as flags
|
| import unittest as googletest
|
| from closure_linter.common import erroraccumulator
|
|
|
| @@ -55,6 +56,12 @@ class AnnotatedFileTestCase(googletest.TestCase):
|
| self._lint_callable = lint_callable
|
| self._converter = converter
|
|
|
| + def setUp(self):
|
| + flags.FLAGS.dot_on_next_line = True
|
| +
|
| + def tearDown(self):
|
| + flags.FLAGS.dot_on_next_line = False
|
| +
|
| def shortDescription(self):
|
| """Provides a description for the test."""
|
| return 'Run linter on %s' % self._filename
|
|
|