Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Error varies by Ruby version.

  • Loading branch information...
commit 45e13459e436552bfa139a17465a64a78791e5a7 1 parent c3ed5ce
@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.