Skip to content

Commit

Permalink
Merge pull request #7 from gongo/use_ert-runner
Browse files Browse the repository at this point in the history
Use ert-runner
  • Loading branch information
gongo committed Oct 7, 2014
2 parents f8e7532 + 05ade74 commit 84bef96
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 22 deletions.
1 change: 1 addition & 0 deletions .ert-runner
@@ -0,0 +1 @@
-L .
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -13,5 +13,6 @@ before_install:
- curl -fsSkL --max-time 10 --retry 10 --retry-delay 10 https://raw.github.com/rejeep/evm/master/go | bash
- evm install emacs-$EMACS_VERSION-bin --use
- curl -fsSkL --max-time 10 --retry 10 --retry-delay 10 https://raw.github.com/cask/cask/master/go | python
- cask install
script:
make test
cask exec ert-runner
2 changes: 1 addition & 1 deletion Cask
Expand Up @@ -4,5 +4,5 @@
(source gnu)

(development
(depends-on "ert")
(depends-on "ert-runner")
(depends-on "undercover"))
14 changes: 0 additions & 14 deletions Makefile

This file was deleted.

6 changes: 0 additions & 6 deletions json-reformat-test.el → test/json-reformat-test.el
@@ -1,9 +1,3 @@
(require 'ert)
(require 'undercover)
(undercover "json-reformat.el$")

(require 'json-reformat)

(ert-deftest json-reformat-test:indent ()
(should (string= "" (json-reformat:indent 0)))
(should (string= " " (json-reformat:indent 1)))
Expand Down
5 changes: 5 additions & 0 deletions test/test-helper.el
@@ -0,0 +1,5 @@
(require 'ert)
(require 'undercover)
(undercover "json-reformat.el$")

(require 'json-reformat)

0 comments on commit 84bef96

Please sign in to comment.