File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11// Test String Module Script
22int GetTestStringCount ()
33{
4- return 30 + 60 /* string split */ ;
4+ return 31 + 60 /* string split */ ;
55}
66
77void TestString ()
@@ -13,11 +13,10 @@ void TestString()
1313 mytext = mytext.Append (" World" );
1414 tap.is (mytext, " HelloWorld" , " String.Append test" );
1515
16- // disabled because single utf-8 char errors the new compiler
17- // // UTF-8 specific test
18- // String utfText = "Hell";
19- // utfText = utfText.AppendChar('ä'); // Append a UTF-8 character
20- // tap.is(utfText, "Hellä", "String.AppendChar UTF-8 test");
16+ // UTF-8 specific test
17+ String utfText = " Hell" ;
18+ utfText = utfText.AppendChar (' ä' ); // Append a UTF-8 character
19+ tap.is (utfText, " Hellä" , " String.AppendChar UTF-8 test" );
2120 }
2221
2322 // String.AppendChar
You can’t perform that action at this time.
0 commit comments