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