about summary refs log tree commit homepage
path: root/test/player_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/player_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/player_integration.rb')
1 files changed, 1 insertions, 1 deletions
diff --git a/test/player_integration.rb b/test/player_integration.rb
index 8ff1be2..5ca3e43 100644
--- a/test/player_integration.rb
+++ b/test/player_integration.rb
@@ -92,7 +92,7 @@ module PlayerIntegration
   def tmp_noise(len = 5)
     noise = Tempfile.open(%w(junk .sox))
     cmd = %W(sox -R -n -r44100 -c2 #{noise.path} synth #{len} pluck)
-    assert system(*cmd), cmd
+    assert system(*cmd), cmd.inspect
     [ noise, len ]