mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-12 05:31:14 +02:00
spec fix: not more than 3 lines in the spec output
This commit is contained in:
parent
03ebc748ad
commit
5f3b8807d3
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ RSpec.describe ColorLS::Flags do
|
|||
it 'displays multiple files per line' do
|
||||
allow($stdout).to receive(:tty?).and_return(true)
|
||||
|
||||
expect { subject }.not_to output(/(.*\n){3}/).to_stdout
|
||||
expect { subject }.not_to output(/(.*\n){4}/).to_stdout
|
||||
end
|
||||
|
||||
it('does not display ./ or ../') { expect { subject }.not_to output(%r(\.{1,2}/)).to_stdout }
|
||||
|
|
Loading…
Reference in a new issue