X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/9db828c3def8f23f0d9e8650a7d2b009c8043eaf..e0c572833a3e2b42cd45237c26a67c6f5be4b09d:/tests/data/stub.pyi?ds=sidebyside diff --git a/tests/data/stub.pyi b/tests/data/stub.pyi index 94ba852..9a24621 100644 --- a/tests/data/stub.pyi +++ b/tests/data/stub.pyi @@ -2,32 +2,55 @@ 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: ...