We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b7ab2 commit 4c7081fCopy full SHA for 4c7081f
tests/plenary/path2_spec.lua
@@ -14,6 +14,10 @@ local function set_shellslash(bool)
14
end
15
16
local function it_win(name, test_fn)
17
+ if not iswin then
18
+ return
19
+ end
20
+
21
if not hasshellslash then
22
it(name, test_fn)
23
else
@@ -1250,7 +1254,7 @@ SOFTWARE.]]
1250
1254
assert.are.same("foo/bar/baz", p:expand())
1251
1255
end)
1252
1256
1253
- it_win("ignore invalid env var", function()
1257
+ it("ignore invalid env var", function()
1258
local p = Path:new "foo/$NOT_A_REAL_ENV_VAR/baz"
1259
assert.are.same(p.filename, p:expand())
1260
0 commit comments