| Index: tools/json_schema_compiler/js_interface_generator_test.py
|
| diff --git a/tools/json_schema_compiler/js_interface_generator_test.py b/tools/json_schema_compiler/js_interface_generator_test.py
|
| index 6821ac4c45398d77b189a589826bd55d2421153a..90837d7a9820da9533881fdbe1abc884dede6c9d 100755
|
| --- a/tools/json_schema_compiler/js_interface_generator_test.py
|
| +++ b/tools/json_schema_compiler/js_interface_generator_test.py
|
| @@ -104,14 +104,14 @@ FakeApi.prototype = {
|
| * @see https://developer.chrome.com/extensions/fakeApi#method-bazGreek
|
| */
|
| bazGreek: assertNotReached,
|
| +};
|
|
|
| - /**
|
| - * Fired when we realize it's a trap!
|
| - * @type {!ChromeEvent}
|
| - * @see https://developer.chrome.com/extensions/fakeApi#event-onTrapDetected
|
| - */
|
| - onTrapDetected: new ChromeEvent(),
|
| -};""" % (datetime.now().year, sys.argv[0]))
|
| +/**
|
| + * Fired when we realize it's a trap!
|
| + * @type {!ChromeEvent}
|
| + * @see https://developer.chrome.com/extensions/fakeApi#event-onTrapDetected
|
| + */
|
| +FakeApi.prototype.onTrapDetected;""" % (datetime.now().year, sys.argv[0]))
|
|
|
| class JsExternGeneratorTest(unittest.TestCase):
|
| def _GetNamespace(self, fake_content, filename):
|
|
|