Skip to content

Commit

Permalink
fix: show output panel command (#266)
Browse files Browse the repository at this point in the history
The Show Output Panel requires the name to be UnitTesting:

    "caption": "UnitTesting: Show Output Panel",
    "command": "show_panel", "args": {"panel": "output.UnitTesting"}
  • Loading branch information
gerardroche authored May 3, 2024
1 parent 35af003 commit e75e4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittesting/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def load_stream(self, package, settings):
output = settings["output"]
if not output or output == "<panel>":
output_panel = OutputPanel(
self.window, "exec", file_regex=r'File "([^"]*)", line (\d+)'
self.window, "UnitTesting", file_regex=r'File "([^"]*)", line (\d+)'
)
output_panel.show()
return output_panel
Expand Down

0 comments on commit e75e4be

Please sign in to comment.