Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6e722fb

Browse files
committed
Removed debug code.
1 parent ccd3c49 commit 6e722fb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/UnitTests/Helpers/TestBaseClass.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,19 @@ protected static PullRequest CreatePullRequest(User user, int id, ItemState stat
6666

6767
protected class TempDirectory : IDisposable
6868
{
69-
ITestOutputHelper output;
70-
71-
public TempDirectory(ITestOutputHelper output = null)
69+
public TempDirectory()
7270
{
73-
this.output = output;
7471
var f = Path.GetTempFileName();
7572
var name = Path.GetFileNameWithoutExtension(f);
7673
File.Delete(f);
7774
Directory = new DirectoryInfo(Path.Combine(Path.GetTempPath(), name));
7875
Directory.Create();
79-
output?.WriteLine("Created " + Directory);
8076
}
8177

8278
public DirectoryInfo Directory { get; }
8379

8480
public void Dispose()
8581
{
86-
output?.WriteLine("Deleted " + Directory);
8782
Directory.Delete(true);
8883
}
8984
}

0 commit comments

Comments
 (0)