about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--test/test_source_av.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_source_av.rb b/test/test_source_av.rb
index c5344a5..bc9d1fc 100644
--- a/test/test_source_av.rb
+++ b/test/test_source_av.rb
@@ -97,5 +97,5 @@ class TestSourceAv < Minitest::Unit::TestCase
     source = DTAS::Source::Av.new.try(tmp.path, '1')
     assert_equal 1000000.0, source.offset_us
   end
-end unless `which avconv 2>/dev/null` =~ /avconv/ &&
-           `which avprobe 2>/dev/null` =~ /avprobe/
+end if `which avconv 2>/dev/null` =~ /avconv/ &&
+       `which avprobe 2>/dev/null` =~ /avprobe/