summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMusy Bite <musybite@gmail.com>2011-08-22 14:17:15 +0400
committerMusy Bite <musybite@gmail.com>2011-08-22 14:17:15 +0400
commit3c6544f04c82c43659cd922be321e08c9533c325 (patch)
treef279c927c28dbf11ef013d306db97f8450b4730d
parent5f9d75cf3f4fd7883f37d60d469c984a4c9d4f2c (diff)
downloadnet-ssh-3c6544f04c82c43659cd922be321e08c9533c325.tar.gz
Fix "ArgumentError: assertion message must be String or Proc"
-rw-r--r--test/transport/test_algorithms.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transport/test_algorithms.rb b/test/transport/test_algorithms.rb
index 4a864ec..b58b4df 100644
--- a/test/transport/test_algorithms.rb
+++ b/test/transport/test_algorithms.rb
@@ -146,7 +146,7 @@ module Transport
def test_allow_when_not_pending_should_be_true_for_all_packets
(0..255).each do |type|
packet = stub("packet", :type => type)
- assert algorithms.allow?(packet), type
+ assert algorithms.allow?(packet), type.to_s
end
end
@@ -299,4 +299,4 @@ module Transport
end
end
-end \ No newline at end of file
+end