Skip to content

Commit 00e1a5d

Browse files
authored
drop '_' from test function/method prefix (#507)
fixes #505
1 parent 66128fd commit 00e1a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dap-python.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ https://github.com/pyenv/pyenv-which-ext."
115115
(let ((name (dap-python--symbol-name lsp-symbol)))
116116
(and (or (string= (dap-python--symbol-type lsp-symbol) "Function")
117117
(string= (dap-python--symbol-type lsp-symbol) "Method"))
118-
(s-starts-with? "test_" name))))
118+
(s-starts-with? "test" name))))
119119

120120
(defun dap-python--test-class-p (test-symbol lsp-symbol)
121121
(when (string= (dap-python--symbol-type lsp-symbol) "Class")

0 commit comments

Comments
 (0)