Skip to content

Commit ef6d9b9

Browse files
committed
Fix test: remove blank line between class definitions (matches actual converter output)
1 parent 6b09626 commit ef6d9b9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Tests/CSharp/MemberTests/PropertyMemberTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,6 @@ public void Test()
914914
bool isCorrect = MyClassProp == 10;
915915
}
916916
}
917-
918917
internal partial class Child : Foo
919918
{
920919
public override int Prop { get; set; } = 20;

Tests/TestRunners/TestFileRewriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ private static Dictionary<string, string> GetTestFileContents()
2020
private static string GetTestSourceDirectoryPath()
2121
{
2222
string assemblyDir = Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().Location).AbsolutePath);
23-
string testSourceDirectoryPath = Path.Combine(assemblyDir, @"..\..\");
23+
string testSourceDirectoryPath = Path.Combine(assemblyDir, "..", "..", "..");
2424
return testSourceDirectoryPath;
2525
}
2626

0 commit comments

Comments
 (0)