Make tests work in Phantom 2.

This commit is contained in:
jdalton
2015-04-22 20:16:43 -07:00
parent ce180cf2bf
commit 0b907a3efa

View File

@@ -80,7 +80,7 @@
result = [];
if (phantom) {
result = params = phantom.args;
result = params = phantom.args || require('system').args;
} else if (system) {
min = 1;
result = params = system.args;