blob: b7d51db3c578dcfda89d75aea39a02e97583b60f (
plain) (
tree)
|
|
[
(builtins.stringLength "foo")
(let s = "hello"; in (builtins.substring 0 (builtins.stringLength s) s))
(builtins.stringLength ("foo" + "${"bar" + "baz"}"))
# feel free to delete this test case at any time, it's just to show: This is a
# thing at the moment. We may want to break compatibility with this aspect of
# the C++ Nix implementation at any time.
(builtins.stringLength "😀")
]
|