X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f71db23824a25300618dd0625085ade8d2b3a7a8..799f76f537f72ade97b8e6637c59fee49e05a4ab:/tests/data/stub.pyi?ds=inline diff --git a/tests/data/stub.pyi b/tests/data/stub.pyi index 986cc84..9a24621 100644 --- a/tests/data/stub.pyi +++ b/tests/data/stub.pyi @@ -1,25 +1,56 @@ +X: int + +def f(): ... + + +class D: + ... + + class C: ... class B: - ... + this_lack_of_newline_should_be_kept: int + def b(self) -> None: ... + + but_this_newline_should_also_be_kept: int class A: + attr: int + attr2: str + def f(self) -> int: ... def g(self) -> str: ... + + def g(): ... def h(): ... + # output +X: int + +def f(): ... + +class D: ... class C: ... -class B: ... + +class B: + this_lack_of_newline_should_be_kept: int + def b(self) -> None: ... + + but_this_newline_should_also_be_kept: int class A: + attr: int + attr2: str + def f(self) -> int: ... def g(self) -> str: ...