Permalink
Browse files

Other: Cleaned up test case data and removed unused files

  • Loading branch information...
dcodeIO committed Jan 16, 2017
1 parent f46ee79 commit b5daa272407cb31945fd38c34bbef7c9edd1db1c
@@ -8,7 +8,6 @@ var fs = require("fs"),
"tests/data/package.proto",
"tests/data/rpc.proto",
"tests/data/mapbox/vector_tile.proto",
"tests/data/ambiguous-names.proto",
"tests/data/test.proto",
"tests/data/convert.proto",
"tests/data/comments.proto"
@@ -2,12 +2,16 @@ 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);
var proto = "syntax = \"proto3\";\
message A {\
string whatever = 1;\
}\
message B {\
A A = 1;\
}";
test.pass("should parse without errors");
test.end();
});
tape.test("ambiguous names", function(test) {
protobuf.parse(proto);
test.pass("should parse without errors");
test.end();
});

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit b5daa27

Please sign in to comment.