Permalink
Browse files

Ensuring 'O.o' and 'o.O' can be alone on a line

Apparently this can just work. I'm a genius.

o.O
  • Loading branch information...
1 parent 489299e commit 46a2f7a7f38b2e55c88039a44b12e23561053988 @ymendel ymendel committed Sep 23, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 spec/nO_op_spec.rb
View
@@ -64,4 +64,12 @@
obj.o.O.should == obj
end
end
+
+ it "should allow 'O.o' as a line on its own" do
+ lambda { O.o }.should.not.raise
+ end
+
+ it "should allow 'o.O' as a line on its own" do
+ lambda { o.O }.should.not.raise
+ end
end

0 comments on commit 46a2f7a

Please sign in to comment.