Added powershell support

This commit is contained in:
Walluce Pinkham 2022-04-13 09:08:12 +01:00
parent 835396c645
commit f2e3803913
5 changed files with 43 additions and 2 deletions

View file

@ -1162,3 +1162,15 @@ def test_local_lua_additional_dependencies(store):
ret, out = _hook_run(hook, (), color=False)
assert b'Luacheck' in out
assert ret == 0
@pytest.mark.parametrize(
'repo',
(
'powershell_repo',
),
)
def test_dotnet_hook(tempdir_factory, store, repo):
_test_hook_repo(
tempdir_factory, store, repo,
'powershell-example-hook', [], b'Hello from Powershell\n',
)