Fix arguments of with --inode flag check

This commit is contained in:
Claudio Bley 2022-03-21 09:05:49 +01:00
parent f9dd1b44ef
commit d5691d69c0

View file

@ -372,7 +372,7 @@ RSpec.describe ColorLS::Flags do
end end
context 'with --inode flag' do context 'with --inode flag' do
let(:args) { ['--inode', '-i', 'show inode number', FIXTURES] } let(:args) { ['--inode', FIXTURES] }
it 'shows inode number' do it 'shows inode number' do
expect { subject }.to output(/\d{7,}/).to_stdout expect { subject }.to output(/\d{7,}/).to_stdout