mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
Merge pull request #9785 from hercules-ci/test-substring-negative
tests/functional/lang: Test substring with negative length
This commit is contained in:
commit
86156d05dd
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue