Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Error varies by Ruby version.

  • Loading branch information...
commit 0667bfbfa07c1c7d91d6615027c5e4439a1cb22c 1 parent c0054fd
@sporkmonger authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 spec/addressable/uri_spec.rb
View
8 spec/addressable/uri_spec.rb
@@ -326,9 +326,7 @@ def to_s
it "should not allow destructive operations" do
(lambda do
@uri.normalize!
- end).should raise_error(
- RuntimeError, "can't modify frozen Addressable::URI"
- )
+ end).should raise_error(RuntimeError)
end
end
@@ -451,9 +449,7 @@ def to_s
it "should not allow destructive operations" do
(lambda do
@uri.normalize!
- end).should raise_error(
- RuntimeError, "can't modify frozen Addressable::URI"
- )
+ end).should raise_error(RuntimeError)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.