From 5d36b91e34b43beadb642e1aebc8b42ad7ed61af Mon Sep 17 00:00:00 2001 From: Sibi Prabakaran Date: Fri, 18 Aug 2023 09:37:56 +0530 Subject: [PATCH] Fix cargo login token tests --- test/rustic-cargo-test.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/rustic-cargo-test.el b/test/rustic-cargo-test.el index 55788622..ea3d17e8 100644 --- a/test/rustic-cargo-test.el +++ b/test/rustic-cargo-test.el @@ -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)) @@ -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))))))