X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a677713ebf1340de1806ee806e0377fa6b122ee7..3eea3aad864b83af3b6c477c32f15eb821fe9341:/tests/composition.py diff --git a/tests/composition.py b/tests/composition.py index 287888d..ea213cf 100644 --- a/tests/composition.py +++ b/tests/composition.py @@ -32,3 +32,14 @@ class C: # Another ): print(i) + + def omitting_trailers() -> None: + get_collection( + hey_this_is_a_very_long_call, it_has_funny_attributes, really=True + )[OneLevelIndex] + get_collection( + hey_this_is_a_very_long_call, it_has_funny_attributes, really=True + )[OneLevelIndex][TwoLevelIndex][ThreeLevelIndex][FourLevelIndex] + d[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][ + 22 + ]