| Index: tools/json_schema_compiler/js_externs_generator_test.py
|
| diff --git a/tools/json_schema_compiler/js_externs_generator_test.py b/tools/json_schema_compiler/js_externs_generator_test.py
|
| index cdf49301c7b7372a99a401d2212f6e22d3e39356..45f684fc5bf8c703a710cd99ab18b7338e40f3d8 100755
|
| --- a/tools/json_schema_compiler/js_externs_generator_test.py
|
| +++ b/tools/json_schema_compiler/js_externs_generator_test.py
|
| @@ -161,8 +161,7 @@ chrome.fakeApi.returnString = function() {};
|
| * @type {!ChromeEvent}
|
| * @see https://developer.chrome.com/extensions/fakeApi#event-onTrapDetected
|
| */
|
| -chrome.fakeApi.onTrapDetected;
|
| -"""
|
| +chrome.fakeApi.onTrapDetected;"""
|
|
|
|
|
| fake_json = """// Copyright 2014 The Chromium Authors. All rights reserved.
|
| @@ -272,8 +271,7 @@ chrome.fakeJson.CrazyEnum = {
|
| * }}
|
| * @see https://developer.chrome.com/extensions/fakeJson#method-funcWithInlineObj
|
| */
|
| -chrome.fakeJson.funcWithInlineObj = function(inlineObj, callback) {};
|
| -"""
|
| +chrome.fakeJson.funcWithInlineObj = function(inlineObj, callback) {};"""
|
|
|
|
|
| class JsExternGeneratorTest(unittest.TestCase):
|
|
|