terraform: TODO the checksum struct

This commit is contained in:
Mitchell Hashimoto 2014-07-08 14:51:38 -07:00
parent 637d68140c
commit d83e687865
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ import (
const fixtureDir = "./test-fixtures"
func checksumStruct(t *testing.T, i interface{}) string {
// TODO(mitchellh): write a library to do this because gob is not
// deterministic in order
return "foo"
buf := new(bytes.Buffer)
enc := gob.NewEncoder(buf)
if err := enc.Encode(i); err != nil {