about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/jruby_socket.rb2
-rw-r--r--test/test_uriclassifier.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/jruby_socket.rb b/test/jruby_socket.rb
index b06cb67..fc81368 100644
--- a/test/jruby_socket.rb
+++ b/test/jruby_socket.rb
@@ -8,7 +8,7 @@ require 'socket'
   this_client = server_socket.accept
   4.times do |n|
     begin
-      data = this_client.readpartial(4)
+      data = this_client.readpartial(2)
       puts "Server got:  #{data}"
       if n == 0
         this_client.close
diff --git a/test/test_uriclassifier.rb b/test/test_uriclassifier.rb
index f222992..696191c 100644
--- a/test/test_uriclassifier.rb
+++ b/test/test_uriclassifier.rb
@@ -178,7 +178,7 @@ class URIClassifierTest < Test::Unit::TestCase
 
     tests.each do |uri|
       script_name, path_info, handler = uri_classifier.resolve(uri)
-      assert_equal root, script_name
+      assert_equal root, script_name, "#{uri} did not resolve to #{root}"
       assert_equal uri, path_info
       assert_equal 2, handler
     end