to_s
This commit is contained in:
parent
f98d1463a6
commit
43f926a1de
11 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue