diff --git a/build/dependencies.props b/build/dependencies.props
index 0df8ea53e8..8e42c8786e 100644
--- a/build/dependencies.props
+++ b/build/dependencies.props
@@ -7,7 +7,7 @@
2.0.0-*
2.0.0-*
2.0.0-*
- 15.3.0-*
- 2.3.0-beta2-*
+ 15.3.0
+ 2.3.0-beta4-build3742
diff --git a/test/Microsoft.AspNetCore.Localization.Tests/RequestLocalizationOptionsTest.cs b/test/Microsoft.AspNetCore.Localization.Tests/RequestLocalizationOptionsTest.cs
index c74c9704d5..12c6f0aca6 100644
--- a/test/Microsoft.AspNetCore.Localization.Tests/RequestLocalizationOptionsTest.cs
+++ b/test/Microsoft.AspNetCore.Localization.Tests/RequestLocalizationOptionsTest.cs
@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// 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;
@@ -54,7 +54,7 @@ namespace Microsoft.AspNetCore.Localization
var options = new RequestLocalizationOptions();
// Act/Assert
- Assert.Throws(typeof(ArgumentNullException), () => options.DefaultRequestCulture = null);
+ Assert.Throws(() => options.DefaultRequestCulture = null);
}
[Fact]
diff --git a/test/Microsoft.Extensions.Localization.Tests/ResourceManagerStringLocalizerTest.cs b/test/Microsoft.Extensions.Localization.Tests/ResourceManagerStringLocalizerTest.cs
index 78f0de9439..58fe3561ca 100644
--- a/test/Microsoft.Extensions.Localization.Tests/ResourceManagerStringLocalizerTest.cs
+++ b/test/Microsoft.Extensions.Localization.Tests/ResourceManagerStringLocalizerTest.cs
@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// 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.Globalization;
@@ -132,8 +132,8 @@ namespace Microsoft.Extensions.Localization
var value = localizer["a key!"];
// Assert
- Assert.Equal(1, Sink.Writes.Count);
- Assert.Equal("ResourceManagerStringLocalizer searched for 'a key!' in 'Resources.TestResource' with culture 'en-US'.", Sink.Writes.First().State.ToString());
+ var write = Assert.Single(Sink.Writes);
+ Assert.Equal("ResourceManagerStringLocalizer searched for 'a key!' in 'Resources.TestResource' with culture 'en-US'.", write.State.ToString());
}
[Theory]