X Tutup
Skip to content

Commit 2603986

Browse files
author
Johan Brichau
committed
Fix issue SeasideSt#175:move supportsUnicode to the platform class
1 parent fe4c708 commit 2603986

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/supportsUnicode.st renamed to repository/Grease-Core.package/GRPlatform.class/instance/supportsUnicode.st

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
private
1+
encoding
22
supportsUnicode
33
"dynamically try to figure out whether the current dialect supports Unicode"
4+
45
^ [
56
String
6-
with: (Character value: 16r1F1F3)
7-
with: (Character value: 16r1F1F1).
7+
with: (Character codePoint: 16r1F1F3)
8+
with: (Character codePoint: 16r1F1F1).
89
true
910
] on: Error
1011
do: [ :error | false ]
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
SystemOrganization addCategory: #'Grease-Core'!
2-
SystemOrganization addCategory: #'Grease-Core-Collections'!
3-
SystemOrganization addCategory: #'Grease-Core-Exceptions'!
4-
SystemOrganization addCategory: #'Grease-Core-Text'!
5-
SystemOrganization addCategory: #'Grease-Core-Utilities'!
1+
self packageOrganizer ensurePackage: #'Grease-Core' withTags: #(#Collections #Exceptions #Text #Utilities)!

repository/Grease-Tests-Core.package/GRPlatformTest.class/instance/testCompileAsciiString.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ tests-file library
22
testCompileAsciiString
33
| selector expected source |
44

5-
self supportsUnicode ifFalse: [
5+
GRPlatform current supportsUnicode ifFalse: [
66
^ self ].
77

88
selector := #stringMethod.

0 commit comments

Comments
 (0)
X Tutup