about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-21 04:13:37 +0000
committerevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-21 04:13:37 +0000
commit94c55aa016b4078dc5ea0da9a398f5e6c9f26db2 (patch)
treeff663bf55b653e2b109ab3dc8b19e67f995c310f /test
parentbe53e4340745dd3161ac56a77a5734d2810e087c (diff)
downloadunicorn-94c55aa016b4078dc5ea0da9a398f5e6c9f26db2.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@714 19e92222-5c0b-0410-8929-a290d50e31e9
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