The Trunk: CollectionsTests-ul.121.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: CollectionsTests-ul.121.mcz

commits-2
Levente Uzonyi uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ul.121.mcz

==================== Summary ====================

Name: CollectionsTests-ul.121
Author: ul
Time: 2 December 2009, 5:55:12 am
UUID: b9168aba-608f-404b-8866-704010534859
Ancestors: CollectionsTests-ar.120

- added tests for WriteStream's new lf and crlf

=============== Diff against CollectionsTests-ar.120 ===============

Item was added:
+ ----- Method: WriteStreamTest>>testCrLf (in category 'tests - character writing') -----
+ testCrLf
+ "self debug: #testCrLf"
+
+ | stream |
+ stream := WriteStream on: 'stream'.
+ stream crlf.
+ self assert: (stream contents last: 2) = String crlf.!

Item was added:
+ ----- Method: WriteStreamTest>>testLf (in category 'tests - character writing') -----
+ testLf
+ "self debug: #testLf"
+
+ | stream |
+ stream := WriteStream on: 'stream'.
+ stream lf.
+ self assert: stream last = Character lf.!