]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "io.pathnames: add missing linux branch in test"
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 11 Jan 2021 21:27:03 +0000 (13:27 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 11 Jan 2021 21:27:03 +0000 (13:27 -0800)
This reverts commit 9fc694e429c72ee12911be6940974a6c9f3728cf.

core/io/pathnames/pathnames-tests.factor

index c1f6bff23e55ec7630868164dc4759dd0e6248e6..3a3989043fd327f9fe02d0f492ef5492028afcda 100644 (file)
@@ -107,28 +107,14 @@ os windows?
 ] with-test-file
 
 ! aum's bug
-os windows?
-    [
-        H{
-            { current-directory "." }
-            { "resource-path" ".." }
-        } [
-            [ "..\\core\\bootstrap\\stage2.factor" ]
-            [ "resource:core\\bootstrap\\stage2.factor" absolute-path ]
-            unit-test
-        ] with-variables
-    ]
-    [
-        H{
-            { current-directory "." }
-            { "resource-path" ".." }
-        } [
-            [ "../core/bootstrap/stage2.factor" ]
-            [ "resource:core/bootstrap/stage2.factor" absolute-path ]
-            unit-test
-        ] with-variables
-    ]
-if
+H{
+    { current-directory "." }
+    { "resource-path" ".." }
+} [
+    [ "..\\core\\bootstrap\\stage2.factor" ]
+    [ "resource:core\\bootstrap\\stage2.factor" absolute-path ]
+    unit-test
+] with-variables
 
 { t } [ cwd "misc" resource-path [ ] with-directory cwd = ] unit-test