Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bibstha/ruby_hash_parser
Browse files Browse the repository at this point in the history
  • Loading branch information
bibstha committed Mar 30, 2017
2 parents f7665e9 + 2a02425 commit 0ba28c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_hash_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
end
end

it "fails if there are more than one expression, it fails" do
it "fails if there are more than one expression" do
strs = ["{ :a => 1 }; 'hello'", "{ :a => 1 }\n{ :b => 2 }"]
strs.each do |bad_str|
assert_raises HashParser::BadHash, "#{ bad_str } should not be safe" do
Expand Down

0 comments on commit 0ba28c9

Please sign in to comment.