diff options
author | Eduardo Julian | 2018-07-11 21:17:42 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-11 21:17:42 -0400 |
commit | 0097e306a1e3b53e4cda304aac82b8778036eddf (patch) | |
tree | ee97d8986edd1c5d7162986a273fde0079fb5659 /new-luxc/test | |
parent | f861af6c6bd57677ba4af2ee3275c69b11f68beb (diff) |
- Got rid of "lux text replace-once" and "lux text replace-all" extensions.
Diffstat (limited to '')
-rw-r--r-- | new-luxc/test/test/luxc/lang/translation/common.lux | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/new-luxc/test/test/luxc/lang/translation/common.lux b/new-luxc/test/test/luxc/lang/translation/common.lux index 8b6e5f4d9..d12a5f87d 100644 --- a/new-luxc/test/test/luxc/lang/translation/common.lux +++ b/new-luxc/test/test/luxc/lang/translation/common.lux @@ -271,32 +271,6 @@ (#e.Error error) (exec (log! error) false)))) - (test "Can replace sub-text once." - (|> (run (` ("lux text =" - (~ (code.text post-rep-once)) - ("lux text replace-once" - (~ (code.text pre-rep-once)) - (~ sample1S) - (~ sample2S))))) - (case> (#e.Success valueV) - (:coerce Bool valueV) - - (#e.Error error) - (exec (log! error) - false)))) - (test "Can replace sub-text all times." - (|> (run (` ("lux text =" - (~ (code.text post-rep-all)) - ("lux text replace-all" - (~ (code.text pre-rep-all)) - (~ sample1S) - (~ sample2S))))) - (case> (#e.Success valueV) - (:coerce Bool valueV) - - (#e.Error error) - (exec (log! error) - false)))) (let [test-clip (function (_ from to expected) (|> (run (` ("lux text clip" (~ concatenatedS) |