mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Okay, so that was a bad test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@162 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
aecf16ba7a
commit
d529c2b1f3
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class ResponseTest < Test::Unit::TestCase
|
|||
tmpf.close
|
||||
|
||||
assert io.length > 0, "output didn't have data"
|
||||
assert io.read =~ /#{contents}\Z/, "output doesn't end with file payload"
|
||||
assert io.read[-contents.length..-1] == contents, "output doesn't end with file payload"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue