[squeak-dev] The Inbox: MultilingualTests-lrnp.44.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Apr 23 21:07:08 UTC 2022


A new version of MultilingualTests was added to project The Inbox:
http://source.squeak.org/inbox/MultilingualTests-lrnp.44.mcz

==================== Summary ====================

Name: MultilingualTests-lrnp.44
Author: lrnp
Time: 23 April 2022, 3:07:06.551035 pm
UUID: 3c234d7a-3c9e-4eb4-9e99-f7401dd66c8f
Ancestors: MultilingualTests-mt.43

regression test for strings with Carriage Return

=============== Diff against MultilingualTests-mt.43 ===============

Item was changed:
  ----- Method: UTF8TextConverterTest>>testSqueakToUtf8 (in category 'tests') -----
  testSqueakToUtf8
  	"Ensure proper encoding"
  
  	self assert: '' squeakToUtf8 equals: ''.
  	self assert: 'Hello World' squeakToUtf8 equals: 'Hello World'.
  	self assert: 'Grüß Gott' squeakToUtf8 asByteArray 
+ 		equals: #[71 114 195 188 195 159 32 71 111 116 116].
+ 	self assert: ('CR', Character cr) squeakToUtf8 asByteArray equals: #[67 82 13]!
- 		equals: #[71 114 195 188 195 159 32 71 111 116 116]!

Item was changed:
  ----- Method: UTF8TextConverterTest>>testUtf8ToSqueak (in category 'tests') -----
  testUtf8ToSqueak
  	"Ensure proper encoding"
  
  	self assert: '' utf8ToSqueak equals: ''.
  	self assert: 'Hello World' utf8ToSqueak equals: 'Hello World'.
  	self assert: #[71 114 195 188 195 159 32 71 111 116 116] asString utf8ToSqueak
+ 		equals: 'Grüß Gott'.
+ 	self assert: #[67 82 13] asString utf8ToSqueak equals: 'CR', Character cr!
- 		equals: 'Grüß Gott'
- 
- !



More information about the Squeak-dev mailing list