github.com/cheshirekow/buildtools@v0.0.0-20200224190056-5d637702fe81/build/testdata/046.golden (about) 1 [ 2 # These lines should all appear 3 # inside the block 4 cc_binary( 5 name = "foo_%s" % lang, 6 ) 7 for lang in li # list comprehension 8 for li in foo # nested list comprehension 9 if lang in langs # condition 10 if lang # another condition 11 ] # List comprehension ends 12 13 [ 14 # These lines should all appear 15 # inside the block 16 cc_binary( 17 # Here's a comment 18 # about the target 19 name = "foo_%s" % lang, 20 ), # My binary 21 ] # List ends