mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-12 05:31:14 +02:00
Fix --inode
check
The range of inodes is roughly 2 to 2^32 (depending on the filesystem). The test failed on CI, since the inode number was a 6-digit number.
This commit is contained in:
parent
88fc35e02f
commit
dbdcd142a0
1 changed files with 2 additions and 2 deletions
|
@ -374,8 +374,8 @@ RSpec.describe ColorLS::Flags do
|
|||
context 'with --inode flag' do
|
||||
let(:args) { ['--inode', FIXTURES] }
|
||||
|
||||
it 'shows inode number' do
|
||||
expect { subject }.to output(/\d{7,}/).to_stdout
|
||||
it 'shows inode number before logo' do
|
||||
expect { subject }.to output(/\d+ +[^ ]+ +a.md/).to_stdout
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue