Skip to content

Commit 4ea176b

Browse files
committed
Add another test case
1 parent 958a4ed commit 4ea176b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/lib/rex/file_utils_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
it "should convert a relative path" do
1616
described_class.normalize_win_path('/', 'test', 'me').should eq("\\test\\me")
1717
described_class.normalize_win_path('\\temp').should eq("\\temp")
18+
described_class.normalize_win_path('temp').should eq("temp")
1819
end
1920

2021
it "should keep the trailing slash if exists" do

0 commit comments

Comments
 (0)