Repaired output formatting of interface section
This commit is contained in:
parent
08935d69c0
commit
0b80a55f79
@ -378,11 +378,11 @@ func (behavior *FaceBehavior) ToString (indent int) (output string) {
|
|||||||
output += doIndent(indent, behavior.name, "\n")
|
output += doIndent(indent, behavior.name, "\n")
|
||||||
|
|
||||||
for _, inputItem := range behavior.inputs {
|
for _, inputItem := range behavior.inputs {
|
||||||
output += doIndent(indent, "> ", inputItem.ToString(), "\n")
|
output += doIndent(indent + 1, "> ", inputItem.ToString(), "\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, outputItem := range behavior.outputs {
|
for _, outputItem := range behavior.outputs {
|
||||||
output += doIndent(indent, "< ", outputItem.ToString(), "\n")
|
output += doIndent(indent + 1, "< ", outputItem.ToString(), "\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user