The Trunk: CollectionsTests-ar.155.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-ar.155.mcz

commits-2
Andreas Raab uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ar.155.mcz

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

Name: CollectionsTests-ar.155
Author: ar
Time: 9 March 2010, 10:11:48.752 pm
UUID: fdfcdb05-5265-fb4b-8a76-d9a4b63726f7
Ancestors: CollectionsTests-klc.153

Update test to require Dictionary>>at: to raise KeyNotFound.

=============== Diff against CollectionsTests-klc.153 ===============

Item was changed:
  ----- Method: DictionaryTest>>testAtError (in category 'basic tests') -----
  testAtError
  "self run: #testAtError"
 
  | dict |
  dict := Dictionary new.
  dict at: #a put: 666.
+ self shouldnt: [ dict at: #a ] raise: KeyNotFound.
+ self should: [ dict at: #b ] raise: KeyNotFound.
- self shouldnt: [ dict at: #a ] raise: Error.
- self should: [ dict at: #b ] raise: Error.
 
  !