X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/80bd2b3134b4f01da4e279d040a224326b3577e5..b5b658da0683c3e0806461946d8b492784e26d97:/tests/composition.py diff --git a/tests/composition.py b/tests/composition.py index fb27b3e..287888d 100644 --- a/tests/composition.py +++ b/tests/composition.py @@ -19,3 +19,16 @@ class C: "2 files reformatted, 2 files left unchanged, " "2 files failed to reformat.", ) + for i in (a,): + if ( + # Rule 1 + i % 2 == 0 + # Rule 2 + and i % 3 == 0 + ): + while ( + # Just a comment + call() + # Another + ): + print(i)