Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions cpplint_clitest.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,11 @@ def run_shell_command(cmd: str, args: str, cwd: str = ".") -> tuple[int, bytes,
return proc.returncode, out, err


class TestUsage:
def test_help(self):
(status, out, err) = run_shell_command(BASE_CMD, "--help")
assert status == 0
assert out == b""
assert err.startswith(b"\nSyntax: cpplint")
def test_help():
(status, out, err) = run_shell_command(BASE_CMD, "--help")
assert status == 0
assert out == b""
assert err.startswith(b"\nSyntax: cpplint")


class TemporaryFolderClassSetup:
Expand Down
Loading