public async Task GetDevelopmentDependencyAsync_ReturnsTrueIfDevelopmentDependency() { using (var test = PackageReaderTest.Create(TestPackagesCore.GetDevelopmentDependencyPackage())) { var isDevelopmentDependency = await test.Reader.GetDevelopmentDependencyAsync(CancellationToken.None); Assert.True(isDevelopmentDependency); } }
public void GetDevelopmentDependency_ReturnsTrueIfDevelopmentDependency() { using (var test = PackageReaderTest.Create(TestPackagesCore.GetDevelopmentDependencyPackage())) { var isDevelopmentDependency = test.Reader.GetDevelopmentDependency(); Assert.True(isDevelopmentDependency); } }