Skip to content

Commit 1205835

Browse files
committed
Update Tests.cs
1 parent 8f4bdf6 commit 1205835

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Verify.Tests/Tests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ public async Task TextNegative()
205205
await Verify(exception.Message);
206206
}
207207

208+
#if(DEBUG)
208209
[Fact]
209210
public async Task AutoVerifyDifferent()
210211
{
@@ -216,6 +217,7 @@ public async Task AutoVerifyDifferent()
216217
settings.AutoVerify();
217218
settings.UniqueForRuntime();
218219
await Verify("content", settings);
220+
Assert.False(File.Exists(received), received);
219221
Assert.True(File.Exists(verified), verified);
220222
}
221223

@@ -230,8 +232,10 @@ public async Task AutoVerifyMissing()
230232
settings.AutoVerify();
231233
settings.UniqueForRuntime();
232234
await Verify("content", settings);
235+
Assert.False(File.Exists(received), received);
233236
Assert.True(File.Exists(verified), verified);
234237
}
238+
#endif
235239

236240
[Fact]
237241
public async Task WithExistingReceived()

0 commit comments

Comments
 (0)