We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f861448 commit b8ff96bCopy full SHA for b8ff96b
core/encoding/find_spec.rb
@@ -50,7 +50,7 @@ def to_str; @encoding_name; end
50
end
51
52
it "raises an ArgumentError if the given encoding does not exist" do
53
- -> { Encoding.find('dh2dh278d') }.should raise_error(ArgumentError)
+ -> { Encoding.find('dh2dh278d') }.should raise_error(ArgumentError, 'unknown encoding name - dh2dh278d')
54
55
56
# Not sure how to do a better test, since locale depends on weird platform-specific stuff
0 commit comments