Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/test/java/io/vertx/blog/first/MyFirstVerticleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void testMyApplication(TestContext context) {
context.assertTrue(body.toString().contains("Hello"));
async.complete();
});
});
}).end();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When using getNow, the end method is not required.

}

@Test
Expand All @@ -121,7 +121,7 @@ public void checkThatTheIndexPageIsServed(TestContext context) {
context.assertTrue(body.toString().contains("<title>My Whisky Collection</title>"));
async.complete();
});
});
}).end();
}

@Test
Expand Down