Fix mutation expectations for binary operator nodes

This commit is contained in:
Markus Schirp 2013-06-22 21:44:58 +02:00
parent 7643ba804e
commit 37588b9bdb

View file

@ -173,10 +173,10 @@ describe Mutant::Mutator, 'send' do
let(:mutations) do
mutations = []
mutations << "((false) #{operator} (false))"
mutations << "((nil) #{operator} (false))"
mutations << "((true) #{operator} (true))"
mutations << "((true) #{operator} (nil))"
mutations << "false #{operator} false"
mutations << "nil #{operator} false"
mutations << "true #{operator} true"
mutations << "true #{operator} nil"
mutations << 'true'
mutations << 'false'
end