states: Support non-string primitives in state string representation

This commit is contained in:
Martin Atkins 2018-09-13 16:08:00 -07:00
parent ace46e9669
commit 83066cd57f
1 changed files with 2 additions and 0 deletions

View File

@ -231,6 +231,8 @@ func (m *Module) testString() string {
mapBuf.WriteString("}")
buf.WriteString(fmt.Sprintf("%s = %s\n", k, mapBuf.String()))
default:
buf.WriteString(fmt.Sprintf("%s = %#v\n", k, lv))
}
}
}