Commit graph

5 commits

Author SHA1 Message Date
Matt Sturgeon
ff29c97723
modules/test: provide access to expect function
Allow `test.warnings` and `test.assertions` to be defined as either a
list, or a function coerced to a list.

When defined as a function, it is supplied an `expect` function which
provides some syntactic-sugar for defining simple expectations.

This is an alternative to the current approach of defining that `expect`
function on an ad-hoc basis.

I prefer this to adding `expect` to nixvim's lib because:
1. That would require having access to `lib`
2. IDK where in `lib` such a specialized function should live
2025-01-17 02:17:34 +00:00
Matt Sturgeon
ae612f8249
tests: use warning-expectations options
Deprecated the old `test.check*` options.
2024-12-27 18:31:34 +00:00
Austin Horstman
029eafd70d
plugins/deprecation: add rust-tools 2024-10-23 11:07:00 -05:00
Austin Horstman
9265d1ab08
tests/rust-tools: add rust-analyzer-options test
Make sure the import is working properly
2024-09-09 14:34:18 -05:00
Austin Horstman
b1d0959bc9
plugins/languages: move to by-name 2024-09-09 14:34:18 -05:00
Renamed from tests/test-sources/plugins/languages/rust/rust-tools.nix (Browse further)