From 1c89882bc5908f74f8c5aaf38af64f2820004861 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 27 Oct 2021 14:15:09 -0600 Subject: [PATCH] Move unused test variable --- account.go | 4 ---- account_test.go | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/account.go b/account.go index 8633f92f..1cc67234 100644 --- a/account.go +++ b/account.go @@ -405,10 +405,6 @@ var ( discoveredEmailMu sync.Mutex ) -// agreementTestURL is set during tests to skip requiring -// setting up an entire ACME CA endpoint. -var agreementTestURL string - // stdin is used to read the user's input if prompted; // this is changed by tests during tests. var stdin = io.ReadWriter(os.Stdin) diff --git a/account_test.go b/account_test.go index 5b8ec3c7..2689da09 100644 --- a/account_test.go +++ b/account_test.go @@ -258,3 +258,7 @@ func TestGetEmailFromRecent(t *testing.T) { t.Errorf("Did not get correct email from storage; expected '%s' but got '%s'", "test4-3@foo.com", am.Email) } } + +// agreementTestURL is set during tests to skip requiring +// setting up an entire ACME CA endpoint. +var agreementTestURL string