Skip to content

Commit

Permalink
tweak jump from shell test to improve code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jacktasia committed Jul 3, 2016
1 parent d40fc16 commit 9a51ea4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/dumb-jump-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,9 @@
(should (string= "doSomeStuff" (plist-get results :symbol)))
(should (string= "javascript" (plist-get results :lang)))))))

(ert-deftest dumb-aa-jump-go-shell-test ()
(let ((go-js-file (f-join test-data-dir-proj1 "src" "js" "fake.js")))
(ert-deftest dumb-jump-go-shell-test ()
(let* ((go-js-file (f-join test-data-dir-proj1 "src" "js" "fake.js"))
(default-directory test-data-dir-proj1))
(with-current-buffer (get-buffer-create "*shell*")
(insert ".js doSomeStuff()")
(goto-char (point-min))
Expand Down

0 comments on commit 9a51ea4

Please sign in to comment.