terraform/state
James Nugent d60365af02 core: Correctly ensure that State() is a copy
The previous mechanism for testing state threw away the mutation made on
the state by calling State() twice - this commit corrects the test to
match the comment.

In addition, we replace the custom copying logic with the copystructure
library to simplify the code.
2016-06-22 17:21:27 +03:00
..
remote remote: Rename mas to azure (#7114) 2016-06-10 20:04:40 +02:00
backup.go state: backup state 2015-02-23 15:13:54 -08:00
backup_test.go state: backup state 2015-02-23 15:13:54 -08:00
cache.go state: cache should use State.Equal to check equality 2015-04-07 15:03:04 -07:00
cache_test.go state: cache state test 2015-02-23 15:13:53 -08:00
inmem.go state: deep copies are required 2015-02-23 21:36:58 -08:00
inmem_test.go state: InmemState 2015-02-23 15:13:55 -08:00
local.go state: deep copies are required 2015-02-23 21:36:58 -08:00
local_test.go state: LocalState supports alternate output path 2015-02-23 15:13:54 -08:00
state.go command: start migrating to new state package 2015-02-23 15:13:54 -08:00
testing.go core: Correctly ensure that State() is a copy 2016-06-22 17:21:27 +03:00