Skip to content

Commit 5dd3b86

Browse files
author
AlexD
committed
fix adding mock extensions for linux and osx
1 parent 37ff32f commit 5dd3b86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/LEGO.AsyncAPI.E2E.Tests/readers/samples/AsyncApi/ShouldConsumeProduceBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected string GetStringWithMockedExtensions(string filename)
3737
{
3838
var body = GetString(filename);
3939
var extensionsBody = ReadFile("LEGO/AsyncAPI/E2E/Tests/readers/samples/AsyncApi", "MockExtensions.json");
40-
return new StringBuilder(body.Substring(0, body.Length - 3)).AppendLine(",").AppendLine(extensionsBody).Append("}").ToString();
40+
return new StringBuilder(body.Substring(0, body.Length - 2)).AppendLine(",").AppendLine(extensionsBody).Append("}").ToString();
4141
}
4242

4343
private string ReadFile(string sampleFolderPath, string filename)

0 commit comments

Comments
 (0)