Skip to content

Commit

Permalink
fix(java/resource-overrides): example uses method toPrettyString() wh…
Browse files Browse the repository at this point in the history
…ich doesn't exist (#201)
  • Loading branch information
skinny85 authored and mergify[bot] committed Dec 11, 2019
1 parent 11e2605 commit d6b9045
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public void shouldGenerateValidCloudFormationTemplate() throws Exception {
App app = new App();
Stack stack = new ResourceOverridesStack(app, "resource-overrides");

String actual = getStackTemplateJson(stack).toPrettyString();
String expected = readJsonFromResource("testResourceOverrides.expected.json").toPrettyString();
String actual = getStackTemplateJson(stack).toString();
String expected = readJsonFromResource("testResourceOverrides.expected.json").toString();

JSONAssert.assertEquals(expected, actual, JSONCompareMode.LENIENT);
}
Expand Down

0 comments on commit d6b9045

Please sign in to comment.