Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added test for fileExists:
  • Loading branch information
Johan Brichau committed Sep 23, 2021
commit ba95d23ba127dc8ae52503702003df45c2f5b8c2
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)