Skip to content

Commit

Permalink
Merge pull request #128 from SeasideSt/issue-127
Browse files Browse the repository at this point in the history
fix issue 127 (fileExists: in GemStone reports on existence of direct…
  • Loading branch information
Johan Brichau authored Sep 23, 2021
2 parents ee61205 + 99b0213 commit 21562c9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ version info
version
"Answer the Grease version"

^ (GRVersion major: 1 minor: 7 revision: 3)
^ (GRVersion major: 1 minor: 7 revision: 5)
yourself
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
file-library
fileExists: aString
^ (FileDirectory forFileName: aString) exists
^ GsFile existsOnServer: aString
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tests-filestreams
testFileExists
| theFileName |
self
writeToFile: 'test'
withFileNameDo:[ :fileName |
self assert: (GRPlatform current fileExists: fileName).
theFileName := fileName ].
self deny: (GRPlatform current fileExists: theFileName)

0 comments on commit 21562c9

Please sign in to comment.