mirror of
https://github.com/protobufjs/protobuf.js.git
synced 2025-12-08 20:58:55 +00:00
14 lines
325 B
JavaScript
14 lines
325 B
JavaScript
var tape = require("tape");
|
|
|
|
var protobuf = require("..");
|
|
|
|
tape.test("ambiguous names", function(test) {
|
|
protobuf.load("tests/data/ambiguous-names.proto", function(err, root) {
|
|
if (err)
|
|
return test.fail(err.message);
|
|
|
|
test.pass("should parse without errors");
|
|
test.end();
|
|
});
|
|
});
|