lib/deep_cover/node/short_circuit.rb in deep-cover-0.6.1 vs lib/deep_cover/node/short_circuit.rb in deep-cover-0.6.2
- old
+ new
@@ -19,10 +19,10 @@
end
def branches_summary(of_branches = branches)
of_branches.map do |jump|
if jump == conditional
- 'left-hand side'
+ 'right-hand side'
else
"#{type == :and ? 'falsy' : 'truthy'} shortcut"
end
end.join(' and ')
end