mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
tests/functional/lang: Test substring with negative length
This commit is contained in:
parent
b2deff1947
commit
cbc319e9be
@ -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 New Issue
Block a user