Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 19, 2022
1 parent 26b467a commit 186ef89
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/append-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Allows extra files to be verified in addition to the primary target.
[Fact]
public Task BinaryFluent() =>
Verify("Foo", settings)
.AppendFile("sample.png");
.AppendFile(File.OpenRead("sample.png"));
```
<sup><a href='/src/Verify.Tests/Converters/InstanceFileAppenderTests.cs#L21-L28' title='Snippet source file'>snippet source</a> | <a href='#snippet-binaryfluent' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
Expand Down

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Verify.Tests/Converters/InstanceFileAppenderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public Task WithName() =>
[Fact]
public Task BinaryFluent() =>
Verify("Foo", settings)
.AppendFile("sample.png");
.AppendFile(File.OpenRead("sample.png"));

#endregion

Expand Down

0 comments on commit 186ef89

Please sign in to comment.