This commit is contained in:
simon lehericey 2022-09-26 21:21:55 +02:00
parent f98d1463a6
commit 43f926a1de
11 changed files with 14 additions and 14 deletions

View file

@ -8,7 +8,7 @@ describe Logic::And do
describe '#to_s' do
it do
expect(and_from([true, false, true]).to_s).to eq "(Oui && Non && Oui)"
expect(and_from([true, false, true]).to_s([])).to eq "(Oui && Non && Oui)"
end
end

View file

@ -7,7 +7,7 @@ describe Logic::BinaryOperator do
end
describe '#to_s' do
it { expect(two_greater_than_one.to_s).to eq('(2 > 1)') }
it { expect(two_greater_than_one.to_s([])).to eq('(2 > 1)') }
end
describe '#==' do