state/remote: Switch to statemgr interfaces in test

These statemgr interfaces are the new names for the older interfaces in
the "state" package. These types alias each other so it doesn't really
matter which we use, but the "state" package is deprecated and we intend
to eventually remove it, so this is a further step in that direction.
This commit is contained in:
Martin Atkins 2019-06-19 17:30:34 -07:00
parent dcbdd70385
commit 2124089e14
1 changed files with 6 additions and 6 deletions

View File

@ -4,15 +4,15 @@ import (
"sync"
"testing"
"github.com/hashicorp/terraform/state"
"github.com/hashicorp/terraform/states/statemgr"
)
func TestState_impl(t *testing.T) {
var _ state.StateReader = new(State)
var _ state.StateWriter = new(State)
var _ state.StatePersister = new(State)
var _ state.StateRefresher = new(State)
var _ state.Locker = new(State)
var _ statemgr.Reader = new(State)
var _ statemgr.Writer = new(State)
var _ statemgr.Persister = new(State)
var _ statemgr.Refresher = new(State)
var _ statemgr.Locker = new(State)
}
func TestStateRace(t *testing.T) {