Skip to content

Commit babbf40

Browse files
committed
Fixed CI
1 parent 641e782 commit babbf40

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

resources/CCT-Tests.patch

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,27 @@ diff -ruN --strip -x .DS_Store projects/core/src/test/resources/test-rom/mcfly.l
99
diff -ruN --strip -x .DS_Store projects/core/src/test/resources/test-rom/spec/apis/fs_spec.lua b/projects/core/src/test/resources/test-rom/spec/apis/fs_spec.lua
1010
--- a/projects/core/src/test/resources/test-rom/spec/apis/fs_spec.lua 2020-06-29 02:52:34.000000000 -0400
1111
+++ b/projects/core/src/test/resources/test-rom/spec/apis/fs_spec.lua 2020-06-29 01:24:00.000000000 -0400
12-
@@ -88,7 +88,6 @@
12+
@@ -92,7 +92,6 @@
1313
describe("fs.list", function()
1414
it("fails on files", function()
1515
expect.error(fs.list, "rom/startup.lua"):eq("/rom/startup.lua: Not a directory")
1616
- expect.error(fs.list, "startup.lua"):eq("/startup.lua: Not a directory")
1717
end)
1818

1919
it("fails on non-existent nodes", function()
20-
@@ -122,7 +121,7 @@
20+
@@ -209,11 +208,6 @@
21+
expect(fs.getDir("../foo")):eq("..")
22+
end)
23+
24+
- it("returns '..' for parent directories", function()
25+
- expect(fs.getDir("..")):eq("../..")
26+
- expect(fs.getDir("../..")):eq("../../..")
27+
- end)
28+
-
29+
it("preserves pattern characters", function()
30+
expect(fs.getDir("foo*?/x")):eq("foo*?")
31+
end)
32+
@@ -463,7 +457,7 @@
2133

2234
describe("fs.makeDir", function()
2335
it("fails on files", function()
@@ -26,7 +38,7 @@ diff -ruN --strip -x .DS_Store projects/core/src/test/resources/test-rom/spec/ap
2638
end)
2739

2840
it("fails on read-only mounts", function()
29-
@@ -171,7 +170,7 @@
41+
@@ -554,7 +548,7 @@
3042
end)
3143

3244
it("returns the capacity on the root mount", function()
@@ -35,18 +47,6 @@ diff -ruN --strip -x .DS_Store projects/core/src/test/resources/test-rom/spec/ap
3547
end)
3648
end)
3749

38-
@@ -209,11 +208,6 @@
39-
expect(fs.getDir("../foo")):eq("..")
40-
end)
41-
42-
- it("returns '..' for parent directories", function()
43-
- expect(fs.getDir("..")):eq("../..")
44-
- expect(fs.getDir("../..")):eq("../../..")
45-
- end)
46-
-
47-
it("preserves pattern characters", function()
48-
expect(fs.getDir("foo*?/x")):eq("foo*?")
49-
end)
5050
diff -ruN --strip -x .DS_Store projects/core/src/test/resources/test-rom/spec/apis/os_spec.lua b/projects/core/src/test/resources/test-rom/spec/apis/os_spec.lua
5151
--- a/projects/core/src/test/resources/test-rom/spec/apis/os_spec.lua 2021-06-08 23:52:34.000000000 -0400
5252
+++ b/projects/core/src/test/resources/test-rom/spec/apis/os_spec.lua 2021-04-28 03:19:00.000000000 -0400

0 commit comments

Comments
 (0)