CR feedback

- Added license to file
- Removed extra space
This commit is contained in:
David Fowler 2016-12-13 21:30:08 -08:00
parent 80ae7f056c
commit 2c5dc9a75c
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,7 @@
using System; // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;

View File

@ -364,7 +364,6 @@ namespace Microsoft.AspNetCore.Hosting
var lifetime = host.Services.GetRequiredService<IApplicationLifetime>(); var lifetime = host.Services.GetRequiredService<IApplicationLifetime>();
lifetime.StopApplication(); lifetime.StopApplication();
host.Start(); host.Start();
var svc = (TestHostedService)host.Services.GetRequiredService<IHostedService>(); var svc = (TestHostedService)host.Services.GetRequiredService<IHostedService>();
Assert.True(svc.StartCalled); Assert.True(svc.StartCalled);