[squeak-dev] The Inbox: SUnit-jr.106.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 2 22:17:16 UTC 2017


A new version of SUnit was added to project The Inbox:
http://source.squeak.org/inbox/SUnit-jr.106.mcz

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

Name: SUnit-jr.106
Author: jr
Time: 2 March 2017, 11:07:55.282687 pm
UUID: 675e77ab-782e-2c47-a754-a9d1ca6f9c03
Ancestors: SUnit-mt.105

make ClassTestCase>targetClass work in other environments

=============== Diff against SUnit-mt.105 ===============

Item was changed:
  ----- Method: ClassTestCase>>targetClass (in category 'private') -----
  targetClass
    |className|
  
    className := self class name asText copyFrom: 0 to: self class name size - 4.
+   ^ self class environment valueOf: (className asString asSymbol).
-   ^ Smalltalk at: (className asString asSymbol).
  !



More information about the Squeak-dev mailing list