Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions test/rustic-cargo-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ fn test() {
(ert-deftest rustic-cargo-login-test ()
(let* ((process-environment (cl-copy-list process-environment))
(tempdir (concat (temporary-file-directory) (file-name-as-directory "rustic-cargo-login-test")))
(credfile (concat tempdir "credentials")))
(credfile (concat tempdir "credentials.toml")))

(when (file-exists-p credfile) (delete-file credfile))

Expand All @@ -268,5 +268,4 @@ fn test() {
(with-temp-buffer
(find-file credfile)
(let ((buf-string (buffer-string)))
(message buf-string)
(should (string-match "\\\[registry\\\]\ntoken = \"test-credentials\"\n" buf-string))))))