diff options
author | Patrick Decat <pdecat@gmail.com> | 2023-01-05 01:10:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 16:10:18 -0800 |
commit | 497c17c5c043801a9d61f63472feed24f0af7250 (patch) | |
tree | 8436117d5682d3fa5a0097c5205c54403d811040 /tests | |
parent | 36fe263bd14a6379ec570817ade6677487f08a23 (diff) | |
download | tox-git-497c17c5c043801a9d61f63472feed24f0af7250.tar.gz |
Require space after colon before factor expansion (#2822)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Resolves https://github.com/tox-dev/tox/issues/2821
Diffstat (limited to 'tests')
-rw-r--r-- | tests/config/loader/ini/test_factor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/config/loader/ini/test_factor.py b/tests/config/loader/ini/test_factor.py index 00aa83c9..cec786b3 100644 --- a/tests/config/loader/ini/test_factor.py +++ b/tests/config/loader/ini/test_factor.py @@ -30,6 +30,7 @@ def complex_example() -> str: py, d: space extra: extra more-default + no:space """, ) @@ -73,6 +74,7 @@ def test_factor_env_filter(env: str, complex_example: str) -> None: assert "default" in result assert "lines" in result assert "more-default" in result + assert "no:space" in result if "py" in env: assert "py only" in result assert "not py" not in result |