[Pkg] The Trunk: CollectionsTests-ar.155.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 10 06:12:09 UTC 2010


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.
  	
  	!



More information about the Packages mailing list