Skip to content

Commit 6580ee0

Browse files
committed
Fix GRPharoColorTest on Pharo 14
1 parent 82fa30e commit 6580ee0

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
testing
22
expectedFailures
3-
^ #(testFromStringThreeDigit)
3+
^ SystemVersion current major >= 14
4+
ifTrue: [
5+
"three digit color codes are fixed with Pharo 14"
6+
#() ]
7+
ifFalse: [
8+
#(testFromStringThreeDigit) ]

repository/Grease-Tests-Pharo-Core.package/GRPharoColorTest.class/instance/testFromStringThreeDigit.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
testing
22
testFromStringThreeDigit
3+
"These are all white on Pharo < 14"
34
self assert: (Color fromString: 'f00') = Color red.
45
self assert: (Color fromString: 'F00') = Color red.
56
self assert: (Color fromString: '#f00') = Color red.

0 commit comments

Comments
 (0)