FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

cpplint_clitest.py: Remove unnecessary class by cclauss · Pull Request #352 · cpplint/cpplint · GitHub

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
11 changes: 5 additions & 6 deletions cpplint_clitest.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL