A new version of NetworkTests was added to project The Inbox:
http://source.squeak.org/inbox/NetworkTests-ct.61.mcz==================== Summary ====================
Name: NetworkTests-ct.61
Author: ct
Time: 14 November 2020, 7:44:22.440394 pm
UUID: d2c5f22e-ee31-3a4b-aaf9-eec14d08a7b8
Ancestors: NetworkTests-eem.60
Document bug in FileUrl >> #retrieveContents. A fix is arriving soon at the inbox!
=============== Diff against NetworkTests-eem.60 ===============
Item was added:
+ ----- Method: FileUrlTest>>testRetrieveContents (in category 'tests') -----
+ testRetrieveContents
+
+ | content name |
+ name := '{1}-{2}.txt' format: {self className. self selector}.
+ content := self identityHash asString.
+
+ FileStream newFileNamed: name do: [:stream |
+ stream nextPutAll: content].
+ [self assert: content equals:
+ (FileUrl absoluteFromFileNameOrUrlString: name) retrieveContents content]
+ ensure: [FileDirectory default deleteFileNamed: name].!