Skip to content

Commit d9c2ec4

Browse files
committed
remove only
1 parent f0491be commit d9c2ec4

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

tests/api_enum.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ tape.test("reflected enums", function(test) {
99
b: 2
1010
});
1111

12+
// TODO: add tests for enum options
13+
// var enm2 = new protobuf.Enum("EditionsTest", {
14+
// a: 2,
15+
// b: 4,
16+
// c: 6,
17+
// },
18+
// {features: { enumType: "CLOSED"}})
19+
1220
var enm_allow_alias = new protobuf.Enum( 'AliasTest',
1321
{ a: 0 }, { allow_alias: true } );
1422

@@ -21,6 +29,7 @@ tape.test("reflected enums", function(test) {
2129
2: "b"
2230
}, "should also expose their values by id");
2331

32+
2433
test.throws(function() {
2534
enm.add(2, 2);
2635
}, TypeError, "should throw if name is not a string");
@@ -88,4 +97,4 @@ tape.test("reflected enums", function(test) {
8897
});
8998

9099
test.end();
91-
});
100+
});

tests/comp_jspb-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var tape = require("tape");
22
var protobuf = require("..");
33

4-
tape.test.only("jspb test proto", function(test) {
4+
tape.test("jspb test proto", function(test) {
55
var existingRoot = new protobuf.Root();
66
protobuf.load("tests/data/test.proto", existingRoot, function(err, root) {
77
if (err)

0 commit comments

Comments
 (0)