The Trunk: KernelTests-nice.246.mcz

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

The Trunk: KernelTests-nice.246.mcz

commits-2
Nicolas Cellier uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-nice.246.mcz

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

Name: KernelTests-nice.246
Author: nice
Time: 24 February 2013, 6:16:47.822 pm
UUID: fbe78ded-66b1-4612-b609-6bda2e45e582
Ancestors: KernelTests-nice.245

Diminish excessive usage of ReadWriteStream

=============== Diff against KernelTests-nice.245 ===============

Item was changed:
  ----- Method: CompiledMethodTest>>testDecompile (in category 'tests - decompiling') -----
  testDecompile
  "self debug: #testDecompileTree"
  | method  cls stream |
 
  Smalltalk removeClassNamed: #TUTU.
 
  cls := Object subclass: #TUTU
  instanceVariableNames: ''
  classVariableNames: ''
  poolDictionaries: ''
  category: 'KernelTests-Methods'.
  cls compile: 'foo ^ 10'.
  method := cls >> #foo.
  Smalltalk removeClassNamed: #TUTU.
+ stream := String new writeStream.
- stream := ReadWriteStream on: String new.
  method decompile printOn: stream.
  self assert: stream contents = 'foo
  ^ 10'
 
 
  !