remove file with \ on the name as windows does not support it (#251)

This commit is contained in:
Islon Scherer
2024-02-26 15:03:46 +01:00
committed by GitHub
parent b7b0e65cc6
commit 90dedb7837
4 changed files with 0 additions and 18 deletions

View File

@@ -41,10 +41,6 @@ examples {
module.catch(() -> import*("../../input-helper/globtest").toMap()) module.catch(() -> import*("../../input-helper/globtest").toMap())
} }
["match literal backslash"] {
import*("../../input-helper/globtest/\\\\moduleC.pkl").keys.toListing()
}
["import glob first segment is wildcard"] { ["import glob first segment is wildcard"] {
import*("*Glob.pkl").keys.toListing() import*("*Glob.pkl").keys.toListing()
} }

View File

@@ -1,7 +1,6 @@
examples { examples {
["import* clause keys"] { ["import* clause keys"] {
new { new {
"../../input-helper/globtest/\\moduleC.pkl"
"../../input-helper/globtest/module with [weird] ~!characters.pkl" "../../input-helper/globtest/module with [weird] ~!characters.pkl"
"../../input-helper/globtest/moduleA.pkl" "../../input-helper/globtest/moduleA.pkl"
"../../input-helper/globtest/moduleB.pkl" "../../input-helper/globtest/moduleB.pkl"
@@ -9,7 +8,6 @@ examples {
} }
["import* inferred name"] { ["import* inferred name"] {
new { new {
"../../input-helper/globtest/\\moduleC.pkl"
"../../input-helper/globtest/module with [weird] ~!characters.pkl" "../../input-helper/globtest/module with [weird] ~!characters.pkl"
"../../input-helper/globtest/moduleA.pkl" "../../input-helper/globtest/moduleA.pkl"
"../../input-helper/globtest/moduleB.pkl" "../../input-helper/globtest/moduleB.pkl"
@@ -17,7 +15,6 @@ examples {
} }
["globstar"] { ["globstar"] {
new { new {
"../../input-helper/globtest/\\moduleC.pkl"
"../../input-helper/globtest/module with [weird] ~!characters.pkl" "../../input-helper/globtest/module with [weird] ~!characters.pkl"
"../../input-helper/globtest/moduleA.pkl" "../../input-helper/globtest/moduleA.pkl"
"../../input-helper/globtest/moduleB.pkl" "../../input-helper/globtest/moduleB.pkl"
@@ -26,7 +23,6 @@ examples {
} }
["globstar then up one level"] { ["globstar then up one level"] {
new { new {
"../../input-helper/globtest/child/../\\moduleC.pkl"
"../../input-helper/globtest/child/../module with [weird] ~!characters.pkl" "../../input-helper/globtest/child/../module with [weird] ~!characters.pkl"
"../../input-helper/globtest/child/../moduleA.pkl" "../../input-helper/globtest/child/../moduleA.pkl"
"../../input-helper/globtest/child/../moduleB.pkl" "../../input-helper/globtest/child/../moduleB.pkl"
@@ -57,11 +53,6 @@ examples {
["match directories"] { ["match directories"] {
"I/O error loading module `file:///$snippetsDir/input-helper/globtest`. IOException: Is a directory" "I/O error loading module `file:///$snippetsDir/input-helper/globtest`. IOException: Is a directory"
} }
["match literal backslash"] {
new {
"../../input-helper/globtest/\\moduleC.pkl"
}
}
["import glob first segment is wildcard"] { ["import glob first segment is wildcard"] {
new { new {
"importGlob.pkl" "importGlob.pkl"

View File

@@ -1,11 +1,6 @@
examples { examples {
["file:"] { ["file:"] {
new { new {
["../../input-helper/globtest/\\moduleC.pkl"] {
uri = "file:///$snippetsDir/input-helper/globtest/%5CmoduleC.pkl"
text = ""
base64 = ""
}
["../../input-helper/globtest/module with [weird] ~!characters.pkl"] { ["../../input-helper/globtest/module with [weird] ~!characters.pkl"] {
uri = "file:///$snippetsDir/input-helper/globtest/module%20with%20%5Bweird%5D%20~!characters.pkl" uri = "file:///$snippetsDir/input-helper/globtest/module%20with%20%5Bweird%5D%20~!characters.pkl"
text = "" text = ""