| Index: third_party/closure_compiler/compiler_customization_test.py
|
| diff --git a/third_party/closure_compiler/compiler_customization_test.py b/third_party/closure_compiler/compiler_customization_test.py
|
| index e1ad681527be7bc1238ebeb2d0b83ba2e0288c8d..03118eb6ef876cddfb7cdaa52e7ed34d5dfea5a6 100755
|
| --- a/third_party/closure_compiler/compiler_customization_test.py
|
| +++ b/third_party/closure_compiler/compiler_customization_test.py
|
| @@ -187,6 +187,13 @@ needsNumber(new Class().booleanProp);
|
| """, expected_error="ERROR - actual parameter 1 of needsNumber does not match "
|
| "formal parameter")
|
|
|
| + def testCrDefineOnCrWorks(self):
|
| + self._runCheckerTestExpectSuccess(self._CR_DEFINE_DEFINITION + """
|
| +cr.define('cr', function() {
|
| + return {};
|
| +});
|
| +""")
|
| +
|
|
|
| if __name__ == "__main__":
|
| unittest.main()
|
|
|