test-machinepack
Advanced tools
Comparing version 2.1.14 to 2.1.15
{ | ||
"name": "test-machinepack", | ||
"author": "Mike McNeil <@mikermcneil>", | ||
"version": "2.1.14", | ||
"version": "2.1.15", | ||
"description": "Raw test runner for machinepacks (also includes a simple stub test driver)", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -17,4 +17,4 @@ /** | ||
var machine = Pack[testSuite.machine]; | ||
if (!_.isFunction(machine)) { | ||
throw new Error(util.format('Unrecognized machine: `%s`', testSuite.machine)); | ||
if (!machine) { | ||
throw new Error('Unrecognized machine: `'+testSuite.machine+'` in pack: '+util.inspect(Pack)); | ||
} | ||
@@ -21,0 +21,0 @@ |
40382