tests/functional/lang: Test substring with negative length

This commit is contained in:
Robert Hensing 2024-01-16 12:18:02 +01:00
parent b2deff1947
commit cbc319e9be
2 changed files with 3 additions and 1 deletions

View file

@ -1 +1 @@
"ooxfoobarybarzobaabbc"
"ooxfoobarybarzobaabbc_bad"

View file

@ -19,3 +19,5 @@ substring 1 2 s
+ substring 3 1 s
+ "c"
+ substring 5 10 "perl"
+ "_"
+ substring 3 (-1) "tebbad"