A new version of KernelTests was added to project The Inbox:
http://source.squeak.org/inbox/KernelTests-fn.333.mcz==================== Summary ====================
Name: KernelTests-fn.333
Author: fn
Time: 9 February 2018, 12:33:58.925317 pm
UUID: 632e1730-bd5f-41e3-bc5f-ea4ed4b557e3
Ancestors: KernelTests-ul.332
Update for Kernel-fn.1151
=============== Diff against KernelTests-ul.332 ===============
Item was changed:
----- Method: FalseTest>>testXor (in category 'tests') -----
testXor
self assert: (false xor: true) = true.
self assert: (false xor: false) = false.
+ self assert: (false xor: [true]) = true.!
-
- self
- should: [(false xor: [false])
- ifTrue: ["This should never be true, do not signal an Error and let the test fail"]
- ifFalse: [self error: 'OK, this should be false, raise an Error']]
- raise: Error
- description: 'a Block argument is not allowed. If it were, answer would be false'.!
Item was changed:
----- Method: TrueTest>>testXor (in category 'testing') -----
testXor
self assert: (true xor: true) = false.
self assert: (true xor: false) = true.
+ self assert: (true xor: [true]) = false.!
-
- self
- should: [(true xor: [true])
- ifTrue: ["This should never be true, do not signal an Error and let the test fail"]
- ifFalse: [self error: 'OK, this should be false, raise an Error']]
- raise: Error
- description: 'a Block argument is not allowed. If it were, answer would be false'.!