Skip to content

Commit b95cda3

Browse files
committed
This time I included the change
1 parent 8ff70a1 commit b95cda3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/Microsoft.OpenApi.Hidi.Tests/Services/OpenApiServiceTests.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -175,20 +175,6 @@ public void InvokeShowCommand()
175175
}
176176

177177

178-
[Fact]
179-
public void InvokeShowCommandWithoutOutput()
180-
{
181-
var rootCommand = Program.CreateRootCommand();
182-
var args = new string[] { "show", "-d", ".\\UtilityFiles\\SampleOpenApi.yml" };
183-
var parseResult = rootCommand.Parse(args);
184-
var handler = rootCommand.Subcommands.Where(c => c.Name == "show").First().Handler;
185-
var context = new InvocationContext(parseResult);
186-
187-
handler.Invoke(context);
188-
189-
var output = File.ReadAllText(Path.Combine(Path.GetTempPath(), "apitree.html"));
190-
Assert.Contains("graph LR", output);
191-
}
192178

193179

194180
// Relatively useless test to keep the code coverage metrics happy

0 commit comments

Comments
 (0)