Skip to content

Commit

Permalink
Move unused test variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mholt committed Oct 27, 2021
1 parent 30664ca commit 1c89882
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,7 @@ func TestGetEmailFromRecent(t *testing.T) {
t.Errorf("Did not get correct email from storage; expected '%s' but got '%s'", "[email protected]", am.Email)
}
}

// agreementTestURL is set during tests to skip requiring
// setting up an entire ACME CA endpoint.
var agreementTestURL string

0 comments on commit 1c89882

Please sign in to comment.