Project

General

Profile

Backport #4557 » test.rb

Repeatable test case - Fuz (Steve Robb), 04/06/2011 09:41 PM

 
File.open('Quote.txt') do |f|
f.chars.each do |c|
puts c == '"' ? 'Quote' : 'Err'

puts case c
when '"' then 'QuoteCase'
else 'ErrCase'
end

p c == '"', c === '"', c
end
end
(1-1/2)