Skip to content

Commit a96973e

Browse files
committed
fix: ParseSpanDelegatesFile test
The test was broken on commit 34efb3d, which moved the file to the ExceptionFactory subdirectory but did not update the test. Test passes again.
1 parent f634a2e commit a96973e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/Light.GuardClauses.SourceCodeTransformation.Tests/ParseCSharpFilesWithRoslynTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static void ParseExpressionExtensionsFile()
2929
[Fact]
3030
public static void ParseSpanDelegatesFile()
3131
{
32-
var fileInfo = GetLightGuardClausesFile("SpanDelegates.cs");
32+
var fileInfo = GetLightGuardClausesFile(@"ExceptionFactory\SpanDelegates.cs");
3333
var syntaxTree = CSharpSyntaxTree.ParseText(File.ReadAllText(fileInfo.FullName), new CSharpParseOptions(LanguageVersion.CSharp7_3, preprocessorSymbols: new[] { "NETSTANDARD2_0" }));
3434
var root = (CompilationUnitSyntax) syntaxTree.GetRoot();
3535

0 commit comments

Comments
 (0)