Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed May 11, 2024
1 parent 70f91a0 commit db317f9
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 14 deletions.
4 changes: 1 addition & 3 deletions src/ApprovalTests.Tests/CleanupReporter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using ApprovalTests.Core;

public class CleanupReporter : IApprovalFailureReporter
public class CleanupReporter : IApprovalFailureReporter
{
public void Report(string approved, string received) =>
File.Delete(received);
Expand Down
1 change: 1 addition & 0 deletions src/ApprovalTests.Tests/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
global using System.Diagnostics;
global using System.Net;
global using ApprovalTests;
global using ApprovalTests.Core;
global using ApprovalTests.Email;
global using ApprovalTests.Events;
global using ApprovalTests.ExceptionalExceptions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using ApprovalTests.Core;
using ApprovalTests.Writers;
using ApprovalTests.Writers;
using ApprovalUtilities.CallStack;

[TestFixture]
Expand Down
2 changes: 0 additions & 2 deletions src/ApprovalTests.Tests/Reporters/FirstWorkingReporterTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using ApprovalTests.Core;

[TestFixture]
public class FirstWorkingReporterTest
{
Expand Down
4 changes: 1 addition & 3 deletions src/ApprovalTests.Tests/Reporters/RecordingReporter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using ApprovalTests.Core;

public class RecordingReporter : IEnvironmentAwareReporter
public class RecordingReporter : IEnvironmentAwareReporter
{
readonly bool working;

Expand Down
2 changes: 0 additions & 2 deletions src/ApprovalTests.Tests/Reporters/ReporterFactoryTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using ApprovalTests.Core;

[TestFixture]
[UseReporter(typeof(ClassLevelReporter))]
public class ReporterFactoryTest
Expand Down
3 changes: 1 addition & 2 deletions src/ApprovalTests.Tests/Reporters/ReporterTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using ApprovalTests.Core;
using ApprovalTests.Reporters.ContinuousIntegration;
using ApprovalTests.Reporters.ContinuousIntegration;

[TestFixture]
public class ReporterTest
Expand Down

0 comments on commit db317f9

Please sign in to comment.