Skip to content

Commit ba95d23

Browse files
author
Johan Brichau
committed
Added test for fileExists:
1 parent 48f401f commit ba95d23

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
tests-filestreams
2+
testFileExists
3+
| theFileName |
4+
self
5+
writeToFile: 'test'
6+
withFileNameDo:[ :fileName |
7+
self assert: (GRPlatform current fileExists: fileName).
8+
theFileName := fileName ].
9+
self deny: (GRPlatform current fileExists: theFileName)

0 commit comments

Comments
 (0)