-
-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy pathVerifyFilesTests.cs
More file actions
37 lines (29 loc) · 706 Bytes
/
VerifyFilesTests.cs
File metadata and controls
37 lines (29 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
public class VerifyFilesTests
{
#region VerifyFiles
[Fact]
public Task Run() =>
VerifyFiles(["File1.txt", "File2.txt"]);
#endregion
#region VerifyFilesWithInfo
[Fact]
public Task WithInfo() =>
VerifyFiles(
["File1.txt", "File2.txt"],
info: new
{
Key = "Value"
});
#endregion
#region VerifyFilesWithFileScrubber
[Fact]
public Task WithFileScrubber() =>
VerifyFiles(
["File1.txt", "File2.txt"],
fileScrubber: (_, builder) =>
{
builder.Clear();
builder.Append("New");
});
#endregion
}