File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 8
8
--- - `Path.new` no longer supported (think it's more confusing that helpful
9
9
--- and not really used as far as I can tell)
10
10
---
11
+ --- - `Path.new` drops `sep` table param (eg. `Path:new {"foo\\bar/baz", sep = "/"}`)
12
+ ---
11
13
--- - drop `__concat` metamethod? it was untested and had some todo comment,
12
14
--- not sure how functional it is
13
15
---
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ local function plat_path(p)
46
46
return p :gsub (" /" , " \\ " )
47
47
end
48
48
49
-
50
49
-- set up mock file with consistent eol regardless of system (git autocrlf settings)
51
50
-- simplifies reading tests
52
51
local licence_lines = {
@@ -159,11 +158,6 @@ describe("Path2", function()
159
158
return paths
160
159
end
161
160
162
- it (" custom sep" , function ()
163
- local p = Path :new { " foo\\ bar/baz" , sep = " /" }
164
- assert .are .same (p .filename , " foo/bar/baz" )
165
- end )
166
-
167
161
describe (" noshellslash" , function ()
168
162
set_shellslash (false )
169
163
test_filename (get_windows_paths ())
You can’t perform that action at this time.
0 commit comments