mirror of
https://github.com/apple/pkl.git
synced 2026-03-25 18:41:18 +01:00
remove file with \ on the name as windows does not support it (#251)
This commit is contained in:
@@ -41,10 +41,6 @@ examples {
|
||||
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.pkl").keys.toListing()
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
examples {
|
||||
["import* clause keys"] {
|
||||
new {
|
||||
"../../input-helper/globtest/\\moduleC.pkl"
|
||||
"../../input-helper/globtest/module with [weird] ~!characters.pkl"
|
||||
"../../input-helper/globtest/moduleA.pkl"
|
||||
"../../input-helper/globtest/moduleB.pkl"
|
||||
@@ -9,7 +8,6 @@ examples {
|
||||
}
|
||||
["import* inferred name"] {
|
||||
new {
|
||||
"../../input-helper/globtest/\\moduleC.pkl"
|
||||
"../../input-helper/globtest/module with [weird] ~!characters.pkl"
|
||||
"../../input-helper/globtest/moduleA.pkl"
|
||||
"../../input-helper/globtest/moduleB.pkl"
|
||||
@@ -17,7 +15,6 @@ examples {
|
||||
}
|
||||
["globstar"] {
|
||||
new {
|
||||
"../../input-helper/globtest/\\moduleC.pkl"
|
||||
"../../input-helper/globtest/module with [weird] ~!characters.pkl"
|
||||
"../../input-helper/globtest/moduleA.pkl"
|
||||
"../../input-helper/globtest/moduleB.pkl"
|
||||
@@ -26,7 +23,6 @@ examples {
|
||||
}
|
||||
["globstar then up one level"] {
|
||||
new {
|
||||
"../../input-helper/globtest/child/../\\moduleC.pkl"
|
||||
"../../input-helper/globtest/child/../module with [weird] ~!characters.pkl"
|
||||
"../../input-helper/globtest/child/../moduleA.pkl"
|
||||
"../../input-helper/globtest/child/../moduleB.pkl"
|
||||
@@ -57,11 +53,6 @@ examples {
|
||||
["match directories"] {
|
||||
"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"] {
|
||||
new {
|
||||
"importGlob.pkl"
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
examples {
|
||||
["file:"] {
|
||||
new {
|
||||
["../../input-helper/globtest/\\moduleC.pkl"] {
|
||||
uri = "file:///$snippetsDir/input-helper/globtest/%5CmoduleC.pkl"
|
||||
text = ""
|
||||
base64 = ""
|
||||
}
|
||||
["../../input-helper/globtest/module with [weird] ~!characters.pkl"] {
|
||||
uri = "file:///$snippetsDir/input-helper/globtest/module%20with%20%5Bweird%5D%20~!characters.pkl"
|
||||
text = ""
|
||||
|
||||
Reference in New Issue
Block a user