turboladen / tailor

A RubyGem that allows for checking standard styling of Ruby files.
146 stars 18 forks source link

Ternary : spacing bug in string: if line.include? "# Test:" #71

Open turboladen opened 14 years ago

turboladen commented 14 years ago

Tailor finds a ternary colon problem with this but shouldn't: if line.include? "# Test:"

miketheman commented 11 years ago

I don't know if this is still an issue, but using that line alone provides an "invalid ruby" error - as the if is never ended.