Skip to content

Commit 13858e2

Browse files
committed
Fix toString of test expectation
1 parent 0d45f9b commit 13858e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/traits/ExpectedEndpoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public String toString() {
104104
}
105105
if (!properties.isEmpty()) {
106106
sb.append("properties:\n");
107-
properties.forEach((k, v) -> sb.append(StringUtils.indent(String.format("%s: %s", k, v), 2)));
107+
properties.forEach((k, v) -> sb.append(StringUtils.indent(String.format("%s: %s", k, Node.printJson(v)), 2)));
108108
}
109109
return sb.toString();
110110
}

0 commit comments

Comments
 (0)