Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
  • Loading branch information
alexey-tereshenkov-oxb committed Feb 9, 2022
1 parent fd83512 commit d259ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/help/help_formatter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_suppress_advanced(self):
args = ["--foo"]
kwargs = {"advanced": True}
lines = self._format_for_global_scope(False, False, args, kwargs)
assert len(lines) == 8
assert len(lines) == 9
assert not any("--foo" in line for line in lines)
lines = self._format_for_global_scope(True, False, args, kwargs)
assert len(lines) == 18
Expand Down

0 comments on commit d259ccd

Please sign in to comment.