We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 548df9d commit e791e3aCopy full SHA for e791e3a
test/cider-util-tests.el
@@ -261,6 +261,16 @@ buffer."
261
(expect (cider--deep-vector-to-list '[bug]) :to-equal '(bug))
262
(expect (cider--deep-vector-to-list '(bug)) :to-equal '(bug))))
263
264
+(describe "cider-version-sans-patch"
265
+ :var (cider-version)
266
+ (it "returns the version sans the patch"
267
+ (setq cider-version "0.11.0")
268
+ (expect (cider-version-sans-patch) :to-equal "0.11"))
269
+
270
+ (it "handles snapshot versions"
271
+ (setq cider-version "0.11.0-snapshot")
272
+ (expect (cider-version-sans-patch) :to-equal "0.11")))
273
274
(describe "cider-manual-url"
275
:var (cider-version)
276
(it "returns the manual correct url for stable cider versions"
0 commit comments