Skip to content

Commit

Permalink
all good
Browse files Browse the repository at this point in the history
  • Loading branch information
ZijianFLG committed Apr 28, 2024
1 parent bbf058e commit e941f31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Tests/SwagTests/CodeGenCsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ public class CodeGenCsTests
{
public CodeGenCsTests(ITestOutputHelper output)
{
helper = new CSharpTestHelper(output);
helper = new CSharpTestHelper(output, CodeGenSettings.Default);
}

readonly CSharpTestHelper helper;

void GenerateAndAssertAndBuild(string filePath, string expectedFile, ISettings mySettings = null)
{
ISettings settings = mySettings ?? CodeGenSettings.Default;
helper.GenerateAndAssertAndBuild(filePath, expectedFile, settings);
helper.GenerateAndAssertAndBuild(filePath, expectedFile, mySettings);
}

[Fact]
Expand Down
5 changes: 2 additions & 3 deletions Tests/SwagTests/VstsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ public class VstsCsTests
{
public VstsCsTests(ITestOutputHelper output)
{
helper = new CSharpTestHelper(output);
helper = new CSharpTestHelper(output, CodeGenSettings.Default);
}

readonly CSharpTestHelper helper;

void GenerateAndAssertAndBuild(string filePath, string expectedFile, ISettings mySettings = null)
{
ISettings settings = mySettings ?? CodeGenSettings.Default;
helper.GenerateAndAssertAndBuild(filePath, expectedFile, settings);
helper.GenerateAndAssertAndBuild(filePath, expectedFile, mySettings);
}

[Fact]
Expand Down

0 comments on commit e941f31

Please sign in to comment.