about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-replacestrings.nix
diff options
context:
space:
mode:
authorJames Landrein <james.landrein@gmail.com>2022-10-25T11·56+0200
committerclbot <clbot@tvl.fyi>2022-10-28T10·21+0000
commitccab9c06a2f01353b8a91469d46a498a75961431 (patch)
treec92cc00b809b24cd5da2f52aa4cb70ae728ad84a /tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-replacestrings.nix
parent3aec6786798d6ffd5e5eb5b205827b92b6185f1d (diff)
feat(tvix/eval): add builtins.replaceStrings r/5219
Change-Id: I93dcdaeb101364ee2273bcaeb19acb57cf6b9e7d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7034
Autosubmit: j4m3s <james.landrein@gmail.com>
Reviewed-by: Adam Joseph <adam@westernsemico.com>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-replacestrings.nix')
-rw-r--r--tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-replacestrings.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-replacestrings.nix b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-replacestrings.nix
deleted file mode 100644
index bd8031fc004e..000000000000
--- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-replacestrings.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-with builtins;
-
-[ (replaceStrings ["o"] ["a"] "foobar")
-  (replaceStrings ["o"] [""] "foobar")
-  (replaceStrings ["oo"] ["u"] "foobar")
-  (replaceStrings ["oo" "a"] ["a" "oo"] "foobar")
-  (replaceStrings ["oo" "oo"] ["u" "i"] "foobar")
-  (replaceStrings [""] ["X"] "abc")
-  (replaceStrings [""] ["X"] "")
-  (replaceStrings ["-"] ["_"] "a-b")
-]