Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kostiantxn committed Dec 10, 2023
1 parent b228539 commit ea4928c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Tests/Markdown/MarkdownTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Summary.Markdown;
using Summary.Pipes;
using Summary.Pipes.IO;
using Summary.Roslyn.CSharp;

namespace Summary.Tests.Markdown;
Expand Down Expand Up @@ -41,7 +42,7 @@ public record Person;
private static string Parsed(string src) =>
new ParseSyntaxTreePipe()
.Then(new ParseDocPipe())
.RunSync(src)
.RunSync(new Source(src))
.Members
.OfType<DocTypeDeclaration>()
.Single()
Expand Down
3 changes: 2 additions & 1 deletion src/Tests/Roslyn/RoslynParserTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Summary.Pipes;
using Summary.Pipes.IO;
using Summary.Roslyn.CSharp;

namespace Summary.Tests.Roslyn;
Expand Down Expand Up @@ -32,7 +33,7 @@ public void RecordStruct()
private static string Declaration(string src) =>
new ParseSyntaxTreePipe()
.Then(new ParseDocPipe())
.RunSync(src)
.RunSync(new Source(src))
.Members
.OfType<DocTypeDeclaration>()
.Single()
Expand Down

0 comments on commit ea4928c

Please sign in to comment.