Browse Source

Switch to explicit option for phantomjs version determination

Daniel Gempesaw 10 năm trước cách đây
mục cha
commit
9810c4c1c0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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/;