Changes between Version 13 and Version 14 of StandardLibraryExtensionMethods
- Timestamp:
- 12/12/10 01:11:37 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StandardLibraryExtensionMethods
v13 v14 125 125 assert actual == expected 126 126 127 def splitWords as List<of String> 128 test 129 # preliminary: 130 assert 'foo bar'.split == ['foo', 'bar'] 131 assert 'foo bar'.split == ['foo', '', 'bar'] # undesireable 132 assert 'foo bar'.split == ['foo', '', '', 'bar'] # undesireable 133 assert Regex(r'\s+').split('foo bar\r\nbaz') == ['foo', 'bar', 'baz'] 134 # this method: 135 assert 'foo bar\r\nbaz'.splitWords == ['foo', 'bar', 'baz'] 136 127 137 extend System.Collections.IList 128 138