aboutsummaryrefslogtreecommitdiff
path: root/test/text.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/text.tm')
-rw-r--r--test/text.tm20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm
index 7d6ce831..a1b36d97 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -11,6 +11,26 @@ func main():
>> str[1]
= "H"
+ >> "I":lower()
+ = "i"
+ >> "I":lower(language="tr_TR")
+ = "ı"
+
+ >> "i":upper()
+ = "I"
+ >> "i":upper(language="tr_TR")
+ = "İ"
+
+ >> "ian":title()
+ = "Ian"
+ >> "ian":title(language="tr_TR")
+ = "İan"
+
+ >> "I":caseless_equals("ı")
+ = no
+ >> "I":caseless_equals("ı", language="tr_TR")
+ = yes
+
>> str[9]
= "é"