OSDN Git Service

add spec for parser bug (has not solved yet)
authorTomohiro Nishimura <tomohiro68@gmail.com>
Fri, 26 Mar 2010 10:58:49 +0000 (19:58 +0900)
committerTomohiro Nishimura <tomohiro68@gmail.com>
Fri, 26 Mar 2010 10:58:49 +0000 (19:58 +0900)
spec/builder/mint_expression_parser_spec.rb
spec/spec_helper.rb

index 5287684..002672b 100644 (file)
@@ -14,7 +14,7 @@ describe MintExpressionParser do
         it input do
           expect {
             expression = subject.parse(input)
-            expression == subject.parse(output)
+            expression.should == subject.parse(output)
           }.to_not raise_error
         end
       end
index a9438a1..5cbe9c4 100644 (file)
@@ -355,6 +355,7 @@ module ProblemExamples
 
   def self.original
     [
+      ['(1) - 1', '1 - 1'],
       ['1 + 1', '1 + 1'],
       ['2 - 2', '2 - 2'],
       ['3 * 3', '3 * 3'],