Skip to content

Commit

Permalink
add check SourcesFilesAsyncSync to SepWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
nietras committed Jan 20, 2025
1 parent 932a341 commit 206384a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Sep.Test/SourceFilesAsyncSyncTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public class SourceFilesAsyncSyncTest
{
[DataRow("Sep/SepReader.IO.Async.cs", "Sep/SepReader.IO.Sync.cs")]
[DataRow("Sep/SepReaderExtensions.IO.Async.cs", "Sep/SepReaderExtensions.IO.Sync.cs")]
[DataRow("Sep/SepWriter.IO.Async.cs", "Sep/SepWriter.IO.Sync.cs")]
[DataTestMethod]
public void SourceFilesAsyncSyncTest_Verify(string asyncFilePath, string syncFilePath)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Sep/SepWriter.IO.Sync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public partial class SepWriter
#if SYNC
public void Flush() => _writer.Flush();
#else
public Task Flush(CancellationToken cancellationToken = default) =>
public Task FlushAsync(CancellationToken cancellationToken = default) =>
_writer.FlushAsync(cancellationToken);
#endif

Expand Down

0 comments on commit 206384a

Please sign in to comment.