Skip to content

Commit e5be901

Browse files
committed
Merge pull request #567 from alechenninger/add-test-for-basename-with-scheme
Add test for basename on path with scheme
2 parents 4eba936 + 1659d47 commit e5be901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/functions/basename_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
it { is_expected.to run.with_params('relative_path/to/a/file.ext').and_return('file.ext') }
1111
it { is_expected.to run.with_params('/path/to/a/file.ext', '.ext').and_return('file') }
1212
it { is_expected.to run.with_params('relative_path/to/a/file.ext', '.ext').and_return('file') }
13+
it { is_expected.to run.with_params('scheme:///path/to/a/file.ext').and_return('file.ext') }
1314
end

0 commit comments

Comments
 (0)