states: Support non-string primitives in state string representation
This commit is contained in:
parent
ace46e9669
commit
83066cd57f
|
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue