Skip to content

Commit 4a8e347

Browse files
author
Johan Brichau
committed
Fix test for GRPharoGenericCodec to be skipped in Pharo10
1 parent 7a35c98 commit 4a8e347

File tree

1 file changed

+5
-4
lines changed
  • repository/Grease-Tests-Pharo-Core.package/GRPharoGenericCodecTest.class/instance

1 file changed

+5
-4
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tests
22
testNoAmbiguities
3-
#('utf-8' 'UTF-8' 'utf8') do: [ :each |
4-
self deny: (GRPharoGenericCodec supportsEncoding: each) ].
5-
GRPharoLatin1Codec supportedEncodingNames do: [ :each |
6-
self deny: (GRPharoGenericCodec supportsEncoding: each) ]
3+
(Smalltalk includesKey: #GRPharoGenericCodec) ifTrue:[
4+
#('utf-8' 'UTF-8' 'utf8') do: [ :each |
5+
self deny: ((Smalltalk at: #GRPharoGenericCodec) supportsEncoding: each) ].
6+
GRPharoLatin1Codec supportedEncodingNames do: [ :each |
7+
self deny: ((Smalltalk at: #GRPharoGenericCodec) supportsEncoding: each) ] ]

0 commit comments

Comments
 (0)