Index: Application/Ringtoets/test/Application.Ringtoets.Integration.Test/ResourcesTest.cs =================================================================== diff -u -r9e7b8344cc985249f312870b9030705371c82bfe -r2a210b0032d2a1ac4c4bdedaaf3aee426f717b4d --- Application/Ringtoets/test/Application.Ringtoets.Integration.Test/ResourcesTest.cs (.../ResourcesTest.cs) (revision 9e7b8344cc985249f312870b9030705371c82bfe) +++ Application/Ringtoets/test/Application.Ringtoets.Integration.Test/ResourcesTest.cs (.../ResourcesTest.cs) (revision 2a210b0032d2a1ac4c4bdedaaf3aee426f717b4d) @@ -65,7 +65,7 @@ string directory = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "UnusedResourceSearcher"); string executable = Path.Combine(directory, "UnusedResourceSearcher.exe"); - Process process = new Process + var process = new Process { StartInfo = new ProcessStartInfo(executable) { @@ -82,7 +82,7 @@ // Assert outputFilePath = Path.Combine(outputPath, "UnusedResources.txt"); var lines = new List(); - using (StreamReader reader = new StreamReader(outputFilePath)) + using (var reader = new StreamReader(outputFilePath)) { string line; while ((line = reader.ReadLine()) != null) @@ -91,7 +91,7 @@ } } - var message = $"The following resources are marked as unused:{Environment.NewLine}{string.Join(Environment.NewLine, lines.OrderBy(s => s).ToList())}"; + string message = $"The following resources are marked as unused:{Environment.NewLine}{string.Join(Environment.NewLine, lines.OrderBy(s => s).ToList())}"; Assert.AreEqual(0, lines.Count, message); } }