Formatter option is now composed of two data: flags (lower 16 bits) and indentation size (higher 16 bits).
DictType and ListType formatter use both indent and flag options. Simple-store now makes a DictType from its data and its ToString() function returns dict.ToString()
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ func TestDictToStringMultiLine(t *testing.T) {
|
||||
var good bool
|
||||
section := "dict-ToString-ML"
|
||||
want := `{
|
||||
"first": 1
|
||||
"first": 1
|
||||
}`
|
||||
args := map[any]*term{
|
||||
"first": newLiteralTerm(NewValueToken(0, 0, SymInteger, "1", 1)),
|
||||
|
||||
Reference in New Issue
Block a user