[Pkg] The Trunk: Tests-fbs.286.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jan 9 14:30:06 UTC 2014


Frank Shearar uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-fbs.286.mcz

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

Name: Tests-fbs.286
Author: fbs
Time: 9 January 2014, 2:28:47.849 pm
UUID: dd26674c-d299-3547-84d4-120c42e17561
Ancestors: Tests-fbs.285

Fix the test. Note that we don't have (yet?) an assert:identicals:, which is the test we ought to have.

=============== Diff against Tests-fbs.285 ===============

Item was changed:
  ----- Method: EnvironmentTest>>testUndeclare (in category 'binding tests') -----
  testUndeclare
  	| one two |
  	one := env undeclare: #Griffle.
  	two := env bindingOf: #Griffle.
+ 	self assert: nil equals: two description: '#bindingOf:'.
- 	self assert: two equals: one description: '#bindingOf: value doesn''t match that returned by #undeclare'.
  	self assert: Global equals: one class description: 'Type of binding'.
  	self assert: nil equals: one value description: 'Value of binding'.!



More information about the Packages mailing list