Skip to content

Commit

Permalink
fix(testables): prevent using nextest for doctests (#246)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Jakobi <marc@jakobi.dev>
  • Loading branch information
bltavares and mrcjkb authored Feb 20, 2024
1 parent e536434 commit 520d88d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [Unreleased]

### Fixed

- Testables: Run doctests when cargo-nextest is present
- Windows: Normalize file actions when comparing to root dir [#245]

## [4.7.5] - 2024-02-20
Expand Down
2 changes: 1 addition & 1 deletion lua/rustaceanvim/runnables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function M.get_command(runnable)
ret = vim.list_extend(ret, args.cargoExtraArgs or {})
table.insert(ret, '--')
ret = vim.list_extend(ret, args.executableArgs or {})
if config.tools.enable_nextest then
if config.tools.enable_nextest and not vim.startswith(runnable.label, 'doctest') then
ret = overrides.try_nextest_transform(ret)
end

Expand Down

0 comments on commit 520d88d

Please sign in to comment.