mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
tests/functional/lang: Test substring with negative length
This commit is contained in:
parent
b2deff1947
commit
cbc319e9be
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