We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a35c98 commit 4a8e347Copy full SHA for 4a8e347
repository/Grease-Tests-Pharo-Core.package/GRPharoGenericCodecTest.class/instance/testNoAmbiguities.st
@@ -1,6 +1,7 @@
1
tests
2
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) ]
+ (Smalltalk includesKey: #GRPharoGenericCodec) ifTrue:[
+ #('utf-8' 'UTF-8' 'utf8') do: [ :each |
+ self deny: ((Smalltalk at: #GRPharoGenericCodec) supportsEncoding: each) ].
+ GRPharoLatin1Codec supportedEncodingNames do: [ :each |
7
+ self deny: ((Smalltalk at: #GRPharoGenericCodec) supportsEncoding: each) ] ]
0 commit comments