From c0eeb3062c90bbd98a5ef5f4f505c21d98014061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Str=C3=B6mberg?= Date: Sun, 23 Dec 2018 12:59:32 +0100 Subject: [PATCH] Remove old confusing todo --- test/calva/fmt/formatter_test.cljs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/calva/fmt/formatter_test.cljs b/test/calva/fmt/formatter_test.cljs index 0a7d25f..038e2d6 100644 --- a/test/calva/fmt/formatter_test.cljs +++ b/test/calva/fmt/formatter_test.cljs @@ -2,12 +2,6 @@ (:require [cljs.test :include-macros true :refer [deftest is]] [calva.fmt.formatter :as sut])) -;; TODO: Fix this bug (gazonk should be indented twice) -#_(deftest format-text - (is (= " (foo\n bar\n baz)\n gazonk" - (:range-text (sut/format-text {:eol "\n" :range-text " (foo \nbar\n baz)\ngazonk"}))))) - - (deftest format-text-at-range (is (= "(foo)\n(defn bar\n [x]\n baz)" (:range-text (sut/format-text-at-range {:eol "\n" :all-text " (foo)\n(defn bar\n[x]\nbaz)" :range [2 26]})))))