diff options
author | Rutger Broekhoff | 2025-07-07 21:52:08 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2025-07-07 21:52:08 +0200 |
commit | ba61dfd69504ec6263a9dee9931d93adeb6f3142 (patch) | |
tree | d6c9b78e50eeab24e0c1c09ab45909a6ae3fd5db /test/testdata/eval-okay-fromjson-escapes.nix | |
download | verified-dyn-lang-interp-ba61dfd69504ec6263a9dee9931d93adeb6f3142.tar.gz verified-dyn-lang-interp-ba61dfd69504ec6263a9dee9931d93adeb6f3142.zip |
Initialize repository
Diffstat (limited to 'test/testdata/eval-okay-fromjson-escapes.nix')
-rw-r--r-- | test/testdata/eval-okay-fromjson-escapes.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-fromjson-escapes.nix b/test/testdata/eval-okay-fromjson-escapes.nix new file mode 100644 index 0000000..f007135 --- /dev/null +++ b/test/testdata/eval-okay-fromjson-escapes.nix | |||
@@ -0,0 +1,3 @@ | |||
1 | # This string contains all supported escapes in a JSON string, per json.org | ||
2 | # \b and \f are not supported by Nix | ||
3 | builtins.fromJSON ''"quote \" reverse solidus \\ solidus \/ backspace \b formfeed \f newline \n carriage return \r horizontal tab \t 1 char unicode encoded backspace \u0008 1 char unicode encoded e with accent \u00e9 2 char unicode encoded s with caron \u0161 3 char unicode encoded rightwards arrow \u2192"'' | ||