Skip to content

Add configuration option test suite#139

Merged
bbatsov merged 1 commit intomainfrom
improve-config-test-coverage
Mar 25, 2026
Merged

Add configuration option test suite#139
bbatsov merged 1 commit intomainfrom
improve-config-test-coverage

Conversation

@bbatsov
Copy link
Member

@bbatsov bbatsov commented Mar 25, 2026

Test previously uncovered defcustom variables:

  • clojure-ts-toplevel-inside-comment-form - defun-at-point behavior inside comment forms
  • clojure-ts-docstring-fill-column - custom fill column for docstrings vs comments
  • clojure-ts-docstring-fill-prefix-width - custom and default fill prefix widths
  • clojure-ts-thread-all-but-last - controls thread-last-all/thread-first-all behavior

Test previously uncovered defcustom variables:

- clojure-ts-toplevel-inside-comment-form: verify that defun-at-point
  returns the comment form by default, and the inner defn when enabled
- clojure-ts-docstring-fill-column: verify custom fill column applies
  to docstrings but not comments
- clojure-ts-docstring-fill-prefix-width: verify custom and default
  fill prefix widths
- clojure-ts-thread-all-but-last: verify it controls whether
  thread-last-all and thread-first-all leave the last expression
  unthreaded
@bbatsov bbatsov merged commit de87501 into main Mar 25, 2026
10 checks passed
@bbatsov bbatsov deleted the improve-config-test-coverage branch March 25, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant