From 0097e306a1e3b53e4cda304aac82b8778036eddf Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 11 Jul 2018 21:17:42 -0400 Subject: - Got rid of "lux text replace-once" and "lux text replace-all" extensions. --- .../test/test/luxc/lang/translation/common.lux | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'new-luxc/test') 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 @@ -268,32 +268,6 @@ (case> (#e.Success valueV) (:coerce Bool valueV) - (#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)))) -- cgit v1.2.3