Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 17, 2024
1 parent b73ca66 commit f49f97b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Verify.MSTest.Tests/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ await Assert.ThrowsExceptionAsync<VerifyException>(
() => Verify("Bar", settings));
}

#if NET9_0

[ResultFilesCallback]
[TestMethod]
public async Task AutoVerifyHasAttachment()
Expand All @@ -76,6 +78,8 @@ public async Task AutoVerifyHasAttachment()
await Verify("Bar", settings);
}

#endif

[ResultFilesCallback]
[TestMethod]
public async Task NewHasAttachment()
Expand Down
4 changes: 4 additions & 0 deletions src/Verify.NUnit.Tests/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ public void ChangeHasAttachment()
AreEqual($"Tests.ChangeHasAttachment.{Namer.TargetFrameworkNameAndVersion}.received.txt", file);
}

#if NET9_0

[Test]
public async Task AutoVerifyHasAttachment()
{
Expand All @@ -115,6 +117,8 @@ public async Task AutoVerifyHasAttachment()
AreEqual($"Tests.AutoVerifyHasAttachment.{Namer.TargetFrameworkNameAndVersion}.received.txt", file);
}

#endif

[Test]
public void NewHasAttachment()
{
Expand Down

0 comments on commit f49f97b

Please sign in to comment.