X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e8ba35277712e3ef21ce5fe11063889a5a826558..cb5aadad74c0a1c9c514a633c632c99b668c70ed:/tests/composition.py?ds=sidebyside 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)