On 31 August 2013 22:34, commits@source.squeak.org wrote:
Chris Muller uploaded a new version of CollectionsTests to project The Trunk: http://source.squeak.org/trunk/CollectionsTests-cmm.206.mcz
==================== Summary ====================
Name: CollectionsTests-cmm.206 Author: cmm Time: 31 August 2013, 4:34:41.685 pm UUID: 18d460d5-be23-418b-a3f0-b340b0c3e948 Ancestors: CollectionsTests-nice.205
testAsMutator test with a selector that already ends with a colon.
=============== Diff against CollectionsTests-nice.205 ===============
Item was changed: ----- Method: SymbolTest>>testAsMutator (in category 'tests') ----- testAsMutator
self
assert: #x asMutator = #x: ;
assert: #x: asMutator = #x: ;
assert: #x asMutator isSymbol!
self assert: #x asMutator = #x:.
self assert: #x asMutator isSymbol!
I've been ripping out #assert: calls in the tests and replacing them with #assert:equals: mainly because #assert:equals: produces a much nicer error message: looking at the failing test on CI will tell you how the assert failed, not just that it failed.
frank
Ok, I'll try to remember to do that next time.
On Sat, Aug 31, 2013 at 5:50 PM, Frank Shearar frank.shearar@gmail.com wrote:
On 31 August 2013 22:34, commits@source.squeak.org wrote:
Chris Muller uploaded a new version of CollectionsTests to project The Trunk: http://source.squeak.org/trunk/CollectionsTests-cmm.206.mcz
==================== Summary ====================
Name: CollectionsTests-cmm.206 Author: cmm Time: 31 August 2013, 4:34:41.685 pm UUID: 18d460d5-be23-418b-a3f0-b340b0c3e948 Ancestors: CollectionsTests-nice.205
testAsMutator test with a selector that already ends with a colon.
=============== Diff against CollectionsTests-nice.205 ===============
Item was changed: ----- Method: SymbolTest>>testAsMutator (in category 'tests') ----- testAsMutator
self
assert: #x asMutator = #x: ;
assert: #x: asMutator = #x: ;
assert: #x asMutator isSymbol!
self assert: #x asMutator = #x:.
self assert: #x asMutator isSymbol!
I've been ripping out #assert: calls in the tests and replacing them with #assert:equals: mainly because #assert:equals: produces a much nicer error message: looking at the failing test on CI will tell you how the assert failed, not just that it failed.
frank
squeak-dev@lists.squeakfoundation.org