Skip to content

Commit

Permalink
Add spec for inspecting Symbols with newlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Olson committed Aug 12, 2012
1 parent 497ffe8 commit 1cbe8fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/ruby/language/symbol_spec.rb
Expand Up @@ -29,6 +29,7 @@
[:'++', ':"++"'],
[:'9', ':"9"'],
[:"foo #{1 + 1}", ':"foo 2"'],
[:"foo\nbar", ':"foo\nbar"'],
].each { |sym, str|
sym.should be_kind_of(Symbol)
sym.inspect.should == str
Expand Down

0 comments on commit 1cbe8fe

Please sign in to comment.