Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e66c320

Browse files
committed
update powershell tests, in new version of cobra the completion file is different
1 parent d4fd8a8 commit e66c320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/test_completion.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def test_completion_powershell(run_command):
4949
result = run_command("completion powershell")
5050
assert result.ok
5151
assert result.stderr == ""
52-
assert "Register-ArgumentCompleter -Native -CommandName 'arduino-cli' -ScriptBlock {" in result.stdout
53-
assert "'arduino-cli;completion' {" in result.stdout
52+
assert "# powershell completion for arduino-cli" in result.stdout
53+
assert "Register-ArgumentCompleter -CommandName 'arduino-cli' -ScriptBlock" in result.stdout
5454

5555

5656
def test_completion_bash_no_desc(run_command):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /