Merge pull request #9785 from hercules-ci/test-substring-negative

tests/functional/lang: Test substring with negative length

(cherry picked from commit 86156d05dd33f856d8804f89669a7fe9b81f1a0d)
Change-Id: I2e2086027a43f8111ba5068ac16590eaa0b798d4
This commit is contained in:
eldritch horrors 2024-03-04 08:07:16 +01:00
parent 2c85fcce87
commit e81ee8b337
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"