Skip to content
Browse files

Bump clojure-complete version

closes #165
  • Loading branch information...
1 parent 2534e9d commit fa2fd459e8bd2903d30c00a8349e6a2be1e8e5fa @trptcolin committed
Showing with 8 additions and 1 deletion.
  1. +1 −1 project.clj
  2. +7 −0 spec/reply/reader/jline/completion_spec.clj
View
2 project.clj
@@ -12,7 +12,7 @@
[com.cemerick/drawbridge "0.0.6"
:exclusions [org.clojure/tools.nrepl]]
[trptcolin/versioneer "0.1.1"]
- [clojure-complete "0.2.3"]
+ [clojure-complete "0.2.4"]
[net.cgrand/sjacket "0.1.1"
:exclusions [org.clojure/clojure]]]
:min-lein-version "2.0.0"
View
7 spec/reply/reader/jline/completion_spec.clj
@@ -29,6 +29,13 @@
(should= 0 @@redraw-count)
(should= -1 word-start)))
+ (it "handles a single slash"
+ (let [candidates (java.util.LinkedList.)
+ word-start (.complete @completer "/" 1 candidates)]
+ (should= [] candidates)
+ (should= 0 @@redraw-count)
+ (should= -1 word-start)))
+
(it "handles null buffer"
(let [candidates (java.util.LinkedList.)
word-start (.complete @completer nil 6 candidates)]

0 comments on commit fa2fd45

Please sign in to comment.
Something went wrong with that request. Please try again.