diff options
author | Bozhidar Batsov <bozhidar@tradeo.com> | 2013-08-21 11:47:12 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@tradeo.com> | 2013-08-22 10:51:19 +0300 |
commit | 81e9ea42ccb17c0b3fa349b37423c19de3f59960 (patch) | |
tree | 1486bb41e68eb0f61e4939839721e5fed5fe0541 /test | |
parent | db63bf203e9169fcc6796b38074491af697866fe (diff) |
Extract banner generation to a separate function
Diffstat (limited to 'test')
-rw-r--r-- | test/nrepl-tests.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/nrepl-tests.el b/test/nrepl-tests.el index 083478ef..5bfd3fb0 100644 --- a/test/nrepl-tests.el +++ b/test/nrepl-tests.el @@ -136,6 +136,10 @@ (let ((nrepl-hide-special-buffers t)) (should (equal (nrepl-server-buffer-name) " *nrepl-server*")))) +(ert-deftest test-nrepl--banner () + (noflet ((nrepl-version () "1.5.1")) + (should (equal (nrepl--banner) "; nREPL 1.5.1")))) + (ert-deftest test-nrepl-extract-error-info-14 () (let ((message "CompilerException java.lang.RuntimeException: Unable to resolve symbol: dummy in this context, compiling:(/some/test/file/core.clj:31)")) (let ((info (nrepl-extract-error-info nrepl-compilation-regexp message))) |