Skip to content

Commit

Permalink
Fixed tests (#139)
Browse files Browse the repository at this point in the history
The Editor Config extension ID has changed.
  • Loading branch information
freemanjp authored Feb 11, 2024
1 parent ad7f5d4 commit 85f1054
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"extensions": [
"DavidAnson.vscode-markdownlint",
"donjayamanne.githistory",
"EditorConfig.EditorConfig",
"editorconfig.editorconfig",
"github.vscode-github-actions",
"GitHub.vscode-pull-request-github",
"ldez.ignore-files",
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
users:
- username: test_usr
visual_studio_code_extensions:
- EditorConfig.EditorConfig
- editorconfig.editorconfig
- wholroyd.jinja
visual_studio_code_extensions_absent:
- streetsidesoftware.code-spell-checker
Expand Down
4 changes: 2 additions & 2 deletions molecule/default/tests/test_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


@pytest.mark.parametrize('extension', [
'EditorConfig.EditorConfig',
'editorconfig.editorconfig',
'wholroyd.jinja'
])
def test_visual_studio_code(host, extension):
Expand All @@ -14,7 +14,7 @@ def test_visual_studio_code(host, extension):
def test_visual_studio_code_extensions(host):
output = host.check_output('sudo --user test_usr -H code %s',
'--list-extensions')
assert 'EditorConfig.EditorConfig' in output
assert 'editorconfig.editorconfig' in output


def test_visual_studio_code_uninstall_extensions(host):
Expand Down
2 changes: 1 addition & 1 deletion molecule/opensuse/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
users:
- username: test_usr
visual_studio_code_extensions:
- EditorConfig.EditorConfig
- editorconfig.editorconfig
- wholroyd.jinja
visual_studio_code_extensions_absent:
- streetsidesoftware.code-spell-checker
Expand Down

0 comments on commit 85f1054

Please sign in to comment.