Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 29, 2023
1 parent 90d7781 commit ebc258a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
6 changes: 2 additions & 4 deletions src/ApprovalTests.Xunit2/Namer/XunitStackTraceNamerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,5 @@ void AssertEquals<T>(string typeName)
}
}

public class InheritedFactAttribute:FactAttribute
{

}
public class InheritedFactAttribute :
FactAttribute;
7 changes: 3 additions & 4 deletions src/ApprovalTests/ExceptionalExceptions/ExceptionalTlDr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

namespace ApprovalTests.ExceptionalExceptions;

public class ExceptionalTlDr : RestQuery<string>
public class ExceptionalTlDr(ExceptionalId uid) :
RestQuery<string>
{
readonly ExceptionalId uid;

public ExceptionalTlDr(ExceptionalId uid) => this.uid = uid;
readonly ExceptionalId uid = uid;

public override string GetQuery() => throw new NotImplementedException();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
public class InheritsTestingEventPoco : TestingEventPoco
{
}
public class InheritsTestingEventPoco :
TestingEventPoco;
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ public string GetBooya()
}
}

class B : A
{
}
class B :
A;
}
#pragma warning restore CS0169
7 changes: 3 additions & 4 deletions src/ApprovalUtilities/Persistence/IExecutableLoader.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace ApprovalUtilities.Persistence;

public interface IExecutableLoader<T> : IExecutableQuery, ILoader<T>
{

}
public interface IExecutableLoader<T> :
IExecutableQuery,
ILoader<T>;

0 comments on commit ebc258a

Please sign in to comment.