Sha256: 3af977264116bc62b28031c635dc856cc39c667acdfe1cf17a7adb25fe3e3e7a
Contents?: true
Size: 597 Bytes
Versions: 31
Compression:
Stored size: 597 Bytes
Contents
require 'spec_helper' describe SCSSLint::Linter::TrailingWhitespace do context 'when lines contain trailing spaces' do let(:scss) { <<-SCSS } p { margin: 0;\s\s } SCSS it { should report_lint line: 2 } end context 'when lines contain trailing tabs' do let(:scss) { <<-SCSS } p { margin: 0;\t\t } SCSS it { should report_lint line: 2 } end context 'when lines does not contain trailing whitespace' do let(:scss) { <<-SCSS } p { margin: 0; } SCSS it { should_not report_lint } end end
Version data entries
31 entries across 31 versions & 1 rubygems