From 452629b6ea57664f46a21854a87e941f1a5db812 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 31 Aug 2013 22:22:41 +0000 Subject: test_source_av: fix test to actually run Oops, at least it still works. --- test/test_source_av.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_source_av.rb') 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/ -- cgit v1.2.3-24-ge0c7