diff --git a/spec/lib/rex/file_utils_spec.rb b/spec/lib/rex/file_utils_spec.rb index e160cf95a5..3f88aea3d7 100644 --- a/spec/lib/rex/file_utils_spec.rb +++ b/spec/lib/rex/file_utils_spec.rb @@ -15,6 +15,7 @@ describe Rex::FileUtils do it "should convert a relative path" do described_class.normalize_win_path('/', 'test', 'me').should eq("\\test\\me") described_class.normalize_win_path('\\temp').should eq("\\temp") + described_class.normalize_win_path('temp').should eq("temp") end it "should keep the trailing slash if exists" do