diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/datetime.tm | 4 | ||||
| -rw-r--r-- | test/text.tm | 6 |
2 files changed, 1 insertions, 9 deletions
diff --git a/test/datetime.tm b/test/datetime.tm index 37559996..19ca74b0 100644 --- a/test/datetime.tm +++ b/test/datetime.tm @@ -29,9 +29,7 @@ func main(): >> t:hours_till(t:after(minutes=60)) = 1 - weekday := 0 - >> t:get(weekday=&weekday) - >> weekday # 1 = Sun, 2 = Mon, 3 = Tue + >> t:day_of_week() # 1 = Sun, 2 = Mon, 3 = Tue = 3 >> t:format("%A") diff --git a/test/text.tm b/test/text.tm index f87cedfb..3a364917 100644 --- a/test/text.tm +++ b/test/text.tm @@ -195,12 +195,6 @@ func main(): >> " one two three ":find($/{id}/, start=5) = 8 - >> len := 0[64] - >> " one ":find($/{id}/, length=&len) - = 4 - >> len - = 3[64] - !! Test text slicing: >> "abcdef":slice() = "abcdef" |
