Adds quality spec
- Spec will fail if Thor contains malformed whitespace
- Spec will fail if Thor's tests use inconsistent quote styles (Thor
- Run with: rspec spec/quality_spec.rb
Coverage remained the same when pulling b38891d on rthbound:adds-quality-spec into 17bb8e6 on erikhuda:master.
Borrowed this spec from the bundler project.
Hey, thanks for submitting this patch. I just added rubocop to enforce similar rules. I actually switched this project’s style to prefer single-quoted strings when there’s no string interpolation or special symbols (e.g. \n, \r, \t).
If you made these changes to this patch, I’d still merge this, since rubocop is not part of the build process.