GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

Commit 8bb3dd33 authored by Stefan Marr's avatar Stefan Marr

Make String test failures distinguishable

Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent d2d33e9e
......@@ -19,9 +19,9 @@ StringTest = (
harness fail: self because: '#charAt: gives wrong result'].
(str beginsWith: '23') ifTrue: [
harness fail: self because: '#beginsWith: gives wrong result'].
harness fail: self because: '#beginsWith: gives wrong result (case 1)'].
(str beginsWith: '123') ifFalse: [
harness fail: self because: '#beginsWith: gives wrong result'].
harness fail: self because: '#beginsWith: gives wrong result (case 2)'].
(str substringFrom: 2 to: 4) = '234' ifFalse: [
harness fail: self because: '#substringFrom:to: gives wrong result'].
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment