]> git.sur5r.net Git - i3/i3/blobdiff - testcases/complete-run.pl
tests: also get rid of smartmatch in complete-run.pl
[i3/i3] / testcases / complete-run.pl
index 560dd4c3de0bc21f6c4126b7f152ef4b424d89fb..c6e7436929424356e945a4474cbb9f75fc427075 100755 (executable)
@@ -143,7 +143,7 @@ my $timingsjson = StartXDummy::slurp('.last_run_timings.json');
 
 # Run 000-load-deps.t first to bail out early when dependencies are missing.
 my $loadtest = "t/000-load-deps.t";
-if ($loadtest ~~ @testfiles) {
+if ((scalar grep { $_ eq $loadtest } @testfiles) > 0) {
     @testfiles = ($loadtest, grep { $_ ne $loadtest } @testfiles);
 }