File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -155,14 +155,14 @@ https://github.com/pyenv/pyenv-which-ext."
155155
156156(defun dap-python--nearest-test (lsp-symbols )
157157 (cl-callf reverse lsp-symbols)
158- (when-let ((test-symbol (-first 'dap-python--test-p lsp-symbols))
159- (class-symbol
160- (-first (-partial 'dap-python--test-class-p test-symbol)
161- lsp-symbols)))
162- (if (eq nil class-symbol)
163- (concat " ::" (dap-python--symbol-name test-symbol))
164- (concat " ::" (dap-python--symbol-name class-symbol)
165- " ::" (dap-python--symbol-name test-symbol)))))
158+ (when-let ((test-symbol (-first 'dap-python--test-p lsp-symbols)))
159+ ( let ( (class-symbol
160+ (-first (-partial 'dap-python--test-class-p test-symbol)
161+ lsp-symbols)))
162+ (if (eq nil class-symbol)
163+ (concat " ::" (dap-python--symbol-name test-symbol))
164+ (concat " ::" (dap-python--symbol-name class-symbol)
165+ " ::" (dap-python--symbol-name test-symbol) )))))
166166
167167(defun dap-python--cursor-position ()
168168 (make-dap-python--point :line (line-number-at-pos )
You can’t perform that action at this time.
0 commit comments