Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Commit

Permalink
Remove old confusing todo
Browse files Browse the repository at this point in the history
  • Loading branch information
PEZ committed Dec 23, 2018
1 parent 8e7a399 commit c0eeb30
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/calva/fmt/formatter_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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]})))))
Expand Down

0 comments on commit c0eeb30

Please sign in to comment.