Permalink
Browse files

Other: Moved checks whether a test case is applicable to parent case

  • Loading branch information...
dcodeIO committed Jan 25, 2017
1 parent 3fcd88c commit 73721f12072d77263e72a3b27cd5cf9409db9f8b
Showing with 8 additions and 5 deletions.
  1. +0 −1 lib/aspromise/tests/index.js
  2. +0 −1 lib/pool/tests/index.js
  3. +2 −1 tests/lib_aspromise.js
  4. +4 −1 tests/lib_inquire.js
  5. +2 −1 tests/lib_pool.js
@@ -2,7 +2,6 @@ var tape = require("tape");
var asPromise = require("..");
if (typeof Promise !== "undefined")
tape.test("aspromise", function(test) {
test.test(this.name + " - resolve", function(test) {
@@ -2,7 +2,6 @@ var tape = require("tape");
var pool = require("..");
if (typeof Uint8Array !== "undefined")
tape.test("pool", function(test) {
var alloc = pool(function(size) { return new Uint8Array(size); }, Uint8Array.prototype.subarray);
@@ -1 +1,2 @@
require("../lib/aspromise/tests");
if (typeof Promise !== "undefined")
require("../lib/aspromise/tests");
@@ -1 +1,4 @@
require("../lib/inquire/tests");
var protobuf = require("..");
if (protobuf.util.isNode)
require("../lib/inquire/tests");
@@ -1 +1,2 @@
require("../lib/pool/tests");
if (typeof Uint8Array !== "undefined")
require("../lib/pool/tests");

0 comments on commit 73721f1

Please sign in to comment.