Skip to content

Commit

Permalink
Fix debug-test with the new line column information
Browse files Browse the repository at this point in the history
  • Loading branch information
Malabarba committed Oct 30, 2015
1 parent 6031331 commit 9b80ad8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/clj/cider/nrepl/middleware/debug_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,15 @@
(with-redefs [d/read-debug-command (fn [v e] (assoc e :value v))
d/debugger-message (atom [:fake])]
(binding [*msg* {:session (atom {}) :code :code, :id :id,
:file :file, :point :point}]
:file :file, :line :line, :column :column}]
(let [m (eval '(cider.nrepl.middleware.debug/breakpoint (inc 10) [6]))]
(are [k v] (= (k m) v)
:value 11
:debug-value "11"
:coor [6]
:file :file
:point :point
:line :line
:column :column
:code :code
:original-id :id))
;; Locals capturing
Expand Down

0 comments on commit 9b80ad8

Please sign in to comment.