Get fixed.

See ab3376869
This commit is contained in:
Henrik Lissner 2020-08-11 19:21:48 -04:00
parent ab3376869d
commit 03162466c6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 14 additions and 10 deletions

View file

@ -6,7 +6,7 @@
"Runs test at point.
If in a method, runs the test method, otherwise runs the entire test class."
(interactive)
(require 'lsp-java)
(require 'dap-java)
(condition-case nil
(dap-java-run-test-method)
(user-error (dap-java-run-test-class))))
@ -16,7 +16,7 @@ If in a method, runs the test method, otherwise runs the entire test class."
"Runs test at point in a debugger.
If in a method, runs the test method, otherwise runs the entire test class."
(interactive)
(require 'lsp-java)
(require 'dap-java)
(condition-case nil
(call-interactively #'dap-java-debug-test-method)
(user-error (call-interactively #'dap-java-debug-test-class))))