Piotr Czajkowski 2 meses atrás
pai
commit
85c503819b
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1 3
      ProcessFilesTests/ProcessFiles_UnitTests.cs

+ 1 - 3
ProcessFilesTests/ProcessFiles_UnitTests.cs

@@ -1,8 +1,6 @@
 using NSubstitute;
 using ProcessFiles.Interfaces;
-using System.IO;
 using Xunit;
-using Xunit.Sdk;
 
 namespace ProcessFilesTests
 {
@@ -85,7 +83,7 @@ namespace ProcessFilesTests
             fakeFileSystem.File.Exists(Arg.Any<string>()).Returns(true);
             fakeFileSystem.Path.GetExtension(Arg.Any<string>()).Returns("txt");
 
-            var expectedValue = "imaginary.txt";
+            const string expectedValue = "imaginary.txt";
             var test = new ProcessFiles.ProcessFiles(fakeFileSystem);
             var errors = test.Process([expectedValue], "txt", TestAction);
             Assert.Empty(errors);