]> git.madduck.net Git - etc/vim.git/blobdiff - tests/data/cases/static/git-logo.png

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Use inline flags for test cases (#3931)
[etc/vim.git] / tests / data / cases / static / git-logo.png
diff --git a/tests/data/simple_cases/remove_newline_after_code_block_open.py b/tests/data/simple_cases/remove_newline_after_code_block_open.py
deleted file mode 100644 (file)
index ef2e5c2..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-import random
-
-
-def foo1():
-
-    print("The newline above me should be deleted!")
-
-
-def foo2():
-
-
-
-    print("All the newlines above me should be deleted!")
-
-
-def foo3():
-
-    print("No newline above me!")
-
-    print("There is a newline above me, and that's OK!")
-
-
-def foo4():
-
-    # There is a comment here
-
-    print("The newline above me should not be deleted!")
-
-
-class Foo:
-    def bar(self):
-
-        print("The newline above me should be deleted!")
-
-
-for i in range(5):
-
-    print(f"{i}) The line above me should be removed!")
-
-
-for i in range(5):
-
-
-
-    print(f"{i}) The lines above me should be removed!")
-
-
-for i in range(5):
-
-    for j in range(7):
-
-        print(f"{i}) The lines above me should be removed!")
-
-
-if random.randint(0, 3) == 0:
-
-    print("The new line above me is about to be removed!")
-
-
-if random.randint(0, 3) == 0:
-
-
-
-
-    print("The new lines above me is about to be removed!")
-
-
-if random.randint(0, 3) == 0:
-    if random.uniform(0, 1) > 0.5:
-        print("Two lines above me are about to be removed!")
-
-
-while True:
-
-    print("The newline above me should be deleted!")
-
-
-while True:
-
-
-
-    print("The newlines above me should be deleted!")
-
-
-while True:
-
-    while False:
-
-        print("The newlines above me should be deleted!")
-
-
-with open("/path/to/file.txt", mode="w") as file:
-
-    file.write("The new line above me is about to be removed!")
-
-
-with open("/path/to/file.txt", mode="w") as file:
-
-
-
-    file.write("The new lines above me is about to be removed!")
-
-
-with open("/path/to/file.txt", mode="r") as read_file:
-
-    with open("/path/to/output_file.txt", mode="w") as write_file:
-
-        write_file.writelines(read_file.readlines())
-
-# output
-
-import random
-
-
-def foo1():
-    print("The newline above me should be deleted!")
-
-
-def foo2():
-    print("All the newlines above me should be deleted!")
-
-
-def foo3():
-    print("No newline above me!")
-
-    print("There is a newline above me, and that's OK!")
-
-
-def foo4():
-    # There is a comment here
-
-    print("The newline above me should not be deleted!")
-
-
-class Foo:
-    def bar(self):
-        print("The newline above me should be deleted!")
-
-
-for i in range(5):
-    print(f"{i}) The line above me should be removed!")
-
-
-for i in range(5):
-    print(f"{i}) The lines above me should be removed!")
-
-
-for i in range(5):
-    for j in range(7):
-        print(f"{i}) The lines above me should be removed!")
-
-
-if random.randint(0, 3) == 0:
-    print("The new line above me is about to be removed!")
-
-
-if random.randint(0, 3) == 0:
-    print("The new lines above me is about to be removed!")
-
-
-if random.randint(0, 3) == 0:
-    if random.uniform(0, 1) > 0.5:
-        print("Two lines above me are about to be removed!")
-
-
-while True:
-    print("The newline above me should be deleted!")
-
-
-while True:
-    print("The newlines above me should be deleted!")
-
-
-while True:
-    while False:
-        print("The newlines above me should be deleted!")
-
-
-with open("/path/to/file.txt", mode="w") as file:
-    file.write("The new line above me is about to be removed!")
-
-
-with open("/path/to/file.txt", mode="w") as file:
-    file.write("The new lines above me is about to be removed!")
-
-
-with open("/path/to/file.txt", mode="r") as read_file:
-    with open("/path/to/output_file.txt", mode="w") as write_file:
-        write_file.writelines(read_file.readlines())