8000 fix warnings and BinaryWriter test fail · gonzojive/protobuf-javascript@e38d877 · GitHub
[go: up one dir, main page]

Skip to content

Commit e38d877

Browse files
committed
fix warnings and BinaryWriter test fail
1 parent fd80a71 commit e38d877

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

commonjs/rewrite_tests_for_commonjs.js

Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ console.log("var global = Function('return this')();");
6767
console.log("var googleProtobuf = require('google-protobuf');");
6868
console.log("var testdeps = require('testdeps_commonjs');");
6969
console.log("global.goog = testdeps.goog;");
70-
console.log("global.jspb = googleProtobuf.jspb;");
70+
console.log("global.jspb = googleProtobuf;");
7171
console.log("var asserts = require('closure_asserts_commonjs');");
7272
console.log("");
7373
console.log("// Bring asserts into the global namespace.");

maps_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030

3131
goog.require('goog.testing.asserts');
32+
goog.require('goog.testing.TestCase');
3233
goog.require('goog.userAgent');
3334

3435
// CommonJS-LoadFromFile: testbinary_pb proto.jspb.test

message_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ goog.setTestOnly();
3434

3535
goog.require('goog.testing.PropertyReplacer');
3636
goog.require('goog.testing.asserts');
37+
goog.require('goog.testing.TestCase');
3738
goog.require('goog.userAgent');
3839

3940
// CommonJS-LoadFromFile: google-protobuf jspb

0 commit comments

Comments
 (0)
0