Ver Fonte

Switch to explicit option for phantomjs version determination

Daniel Gempesaw há 10 anos atrás
pai
commit
9810c4c1c0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      t/CanStartBinary.t

+ 1 - 1
t/CanStartBinary.t

@@ -90,7 +90,7 @@ FIREFOX: {
 }
 
 sub is_proper_phantomjs_available {
-    my $ver = `phantomjs -v` // '';
+    my $ver = `phantomjs --version` // '';
     chomp $ver;
 
     $ver =~ s/^(\d\.\d).*/$1/;