about summary refs log tree commit homepage
path: root/test/test_rg_integration.rb
diff options
authorEric Wong <normalperson@yhbt.net>2013-09-06 21:51:27 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-06 21:51:27 +0000
commit4d0ed0ea4b53690f55f2638717dbe266ad3c5ff6 (patch)
treedc3d41253f001f9cd387c2b9b92a7e7b005bce88 /test/test_rg_integration.rb
parent71b292fcf00681fd4126d39d7ec211da54435c19 (diff)
assert() in test/unit does not automatically stringify the failure
message, unlike minitest.  I don't have a strong opinion regarding
minitest and test/unit, but the deprecation notices in minitest 5
are annoying, so perhaps using Test::Unit via minitest shim is a
better way to go.
Diffstat (limited to 'test/test_rg_integration.rb')
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_rg_integration.rb b/test/test_rg_integration.rb
index 23fd5d6..5c570ad 100644
--- a/test/test_rg_integration.rb
+++ b/test/test_rg_integration.rb
@@ -7,14 +7,14 @@ class TestRgIntegration < Minitest::Unit::TestCase
   def tmp_pluck(len = 5)
     pluck = Tempfile.open(%w(pluck .flac))
     cmd = %W(sox -R -n -r44100 -c2 -C0 #{pluck.path} synth #{len} pluck)
-    assert system(*cmd), cmd
+    assert system(*cmd), cmd.inspect
     cmd = %W(metaflac
-    assert system(*cmd), cmd
+    assert system(*cmd), cmd.inspect
     [ pluck, len ]