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:
parent
2c85fcce87
commit
e81ee8b337
|
@ -1 +1 @@
|
||||||
"ooxfoobarybarzobaabbc"
|
"ooxfoobarybarzobaabbc_bad"
|
||||||
|
|
|
@ -19,3 +19,5 @@ substring 1 2 s
|
||||||
+ substring 3 1 s
|
+ substring 3 1 s
|
||||||
+ "c"
|
+ "c"
|
||||||
+ substring 5 10 "perl"
|
+ substring 5 10 "perl"
|
||||||
|
+ "_"
|
||||||
|
+ substring 3 (-1) "tebbad"
|
||||||
|
|
Loading…
Reference in a new issue