Skip to content

Commit

Permalink
Fix rustic-cargo-test-test
Browse files Browse the repository at this point in the history
To use `rustic-default-test-arguments`.

This accompanies commit 8ce8514,
fixing behaviour where even if
`rustic-cargo-use-last-stored-arguments` is set to NIL, running
`rustic-cargo-test` would still use the last stored arguments.
  • Loading branch information
SiberzK committed Jan 12, 2025
1 parent 8ce8514 commit b88a7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rustic-cargo-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ fn test() {
(should (eq major-mode 'rustic-cargo-test-mode)))
(should (string= (s-join " " (process-get proc 'command))
(s-trim (concat (rustic-cargo-bin) " test "
rustic-test-arguments))))))))
rustic-default-test-arguments))))))))

(ert-deftest rustic-cargo-expand-test ()
(let* ((string "fn main() {()}")
Expand Down

0 comments on commit b88a7e3

Please sign in to comment.