Skip to content

Commit

Permalink
Polishing for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Oct 7, 2016
1 parent c610d30 commit b0f7e80
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -115,7 +115,7 @@ protected static String generateDefaultDisplayName(Method testMethod) {

@Override
public JupiterEngineExecutionContext prepare(JupiterEngineExecutionContext context) throws Exception {
ExtensionRegistry extensionRegistry = populateNewExtensionRegistryFromExtendWith(this.testMethod,
ExtensionRegistry registry = populateNewExtensionRegistryFromExtendWith(this.testMethod,
context.getExtensionRegistry());
Object testInstance = context.getTestInstanceProvider().getTestInstance();
ThrowableCollector throwableCollector = new ThrowableCollector();
Expand All @@ -124,7 +124,7 @@ public JupiterEngineExecutionContext prepare(JupiterEngineExecutionContext conte

// @formatter:off
return context.extend()
.withExtensionRegistry(extensionRegistry)
.withExtensionRegistry(registry)
.withExtensionContext(testExtensionContext)
.withThrowableCollector(throwableCollector)
.build();
Expand Down

0 comments on commit b0f7e80

Please sign in to comment.