Merging upstream version 3.1.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f7ee0eb8fc
commit
c4c52947de
88 changed files with 1083 additions and 974 deletions
9
tests/languages/system_test.py
Normal file
9
tests/languages/system_test.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from pre_commit.languages import system
|
||||
from testing.language_helpers import run_language
|
||||
|
||||
|
||||
def test_system_language(tmp_path):
|
||||
expected = (0, b'hello hello world\n')
|
||||
assert run_language(tmp_path, system, 'echo hello hello world') == expected
|
Loading…
Add table
Add a link
Reference in a new issue