| 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 2e63c6b5ecfeca5a761b190be04ce2b06a67db1c..b15a6b19ed643e8a8a7556bef3b6ca0686e00853 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);
|
| """, "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()
|
|
|