Skip to content

Commit

Permalink
Resolve long line offense
Browse files Browse the repository at this point in the history
  • Loading branch information
bl7awy19 committed Mar 18, 2022
1 parent 29f2162 commit e9166e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/color_ls/flags_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@
}

it('does not display hidden files') { expect { subject }.not_to output(/\.hidden-file/).to_stdout }
it('does not show a report') { expect { subject }.not_to output(/(Found \d+ items in total\.)|(Folders: \d+, Files: \d+\.)/).to_stdout }
it('displays dirs & files alphabetically') { expect { subject }.to output(/a-file.+symlinks.+z-file/m).to_stdout }

it 'does not show a report' do
expect { subject }.not_to output(/(Found \d+ items in total\.)|(Folders: \d+, Files: \d+\.)/).to_stdout
end

it 'displays multiple files per line' do
allow($stdout).to receive(:tty?).and_return(true)

Expand Down

0 comments on commit e9166e8

Please # to comment.