The Trunk: Tests-fbs.286.mcz

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

The Trunk: Tests-fbs.286.mcz

commits-2
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'.!