Skip to content

Commit e7fb87d

Browse files
committed
Update cherry-picked tests to current Squeak version of FileSystem
Classes were not renamed and there is no constructor without delimiter:. Ref #3
1 parent 8dffd7a commit e7fb87d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/FS-Tests-Core.package/FSPathTest.class/instance/testRelativeFromString.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ testRelativeFromString
33

44
| path |
55

6-
path := Path from: 'plonk/griffle'.
6+
path := FSPath from: 'plonk/griffle' delimiter: $/.
77

88
self assert: path isRelative.
99
self assert: path size equals: 2.

src/FS-Tests-Core.package/FSPathTest.class/instance/testRelativeFromStringNormalization.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ testRelativeFromStringNormalization
33

44
| path |
55

6-
path := Path from: 'plonk/../griffle'.
6+
path := FSPath from: 'plonk/../griffle' delimiter: $/.
77

88
self assert: path isRelative.
99
self assert: path size equals: 1.

src/FS-Tests-Core.package/FSPathTest.class/instance/testRelativeFromStringNormalizationParent.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ testRelativeFromStringNormalizationParent
33

44
| path |
55

6-
path := Path from: 'plonk/../../griffle'.
6+
path := FSPath from: 'plonk/../../griffle' delimiter: $/.
77

88
self assert: path isRelative.
99
self assert: path size equals: 2.

src/FS-Tests-Core.package/FSPathTest.class/instance/testRelativeFromStringParent.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ testRelativeFromStringParent
33

44
| path |
55

6-
path := Path from: '../..'.
6+
path := FSPath from: '../..' delimiter: $/.
77

88
self assert: path isRelative.
99
self assert: path size equals: 2.

src/FS-Tests-Core.package/FSPathTest.class/methodProperties.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"testParseTrailingSlash" : "CamilloBruni 1/19/2012 15:00",
3131
"testPrintRelativeWithParent" : "cwp 3/29/2011 16:46",
3232
"testPrintWithDelimiter" : "cwp 2/26/2011 11:00",
33-
"testRelativeFromString" : "CamilloBruni 2/14/2014 14:39",
34-
"testRelativeFromStringNormalization" : "CamilloBruni 2/14/2014 14:41",
35-
"testRelativeFromStringNormalizationParent" : "CamilloBruni 2/14/2014 14:41",
36-
"testRelativeFromStringParent" : "CamilloBruni 2/14/2014 14:41",
33+
"testRelativeFromString" : "jr 1/9/2021 16:13",
34+
"testRelativeFromStringNormalization" : "jr 1/9/2021 16:13",
35+
"testRelativeFromStringNormalizationParent" : "jr 1/9/2021 16:13",
36+
"testRelativeFromStringParent" : "jr 1/9/2021 16:13",
3737
"testRelativePrintString" : "cwp 2/27/2011 09:31",
3838
"testRelativeTo" : "StephaneDucasse 2/18/2011 21:55",
3939
"testRelativeToBranch" : "cwp 11/15/2009 00:21",

0 commit comments

Comments
 (0)