Skip to content

Commit f5fbdc3

Browse files
committed
Update Tests.cs
1 parent cee5ee7 commit f5fbdc3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Verify.MSTest.Tests/Tests.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public partial class Tests
77
static void DerivePathInfo()
88
{
99
// ReSharper disable once UnusedParameter.Local
10+
1011
#region DerivePathInfoMSTest
1112

1213
Verifier.DerivePathInfo(
@@ -54,14 +55,15 @@ public async Task ChangeHasAttachment()
5455
await Assert.ThrowsExceptionAsync<VerifyException>(
5556
() => Verify("Bar", settings));
5657
}
58+
5759
[ResultFilesCallback]
5860
[TestMethod]
5961
public async Task AutoVerifyHasAttachment()
6062
{
6163
var path = CurrentFile.Relative("Tests.AutoVerifyHasAttachment.verified.txt");
6264
var fullPath = Path.GetFullPath(path);
6365
File.Delete(fullPath);
64-
File.WriteAllText(fullPath,"Foo");
66+
File.WriteAllText(fullPath, "Foo");
6567
ResultFilesCallback.Callback = list =>
6668
{
6769
Assert.AreEqual(1, list.Count);
@@ -123,7 +125,7 @@ public async Task MultipleNewHasAttachment()
123125
var settings = new VerifySettings();
124126
settings.DisableDiff();
125127
await Assert.ThrowsExceptionAsync<VerifyException>(
126-
() => Verify("Bar",[new("txt", "Value")], settings));
128+
() => Verify("Bar", [new("txt", "Value")], settings));
127129
}
128130

129131
#region ExplicitTargetsMsTest
@@ -150,9 +152,9 @@ public Task EnumerableTargets() =>
150152
Verify(
151153
[
152154
new Target(
153-
extension: "txt",
154-
data: "Raw target value",
155-
name: "targetName")
155+
extension: "txt",
156+
data: "Raw target value",
157+
name: "targetName")
156158
]);
157159

158160
static string directoryPathToVerify = Path.Combine(AttributeReader.GetSolutionDirectory(), "ToVerify");

0 commit comments

Comments
 (0)