aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/algorithm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/algorithm')
-rw-r--r--tests/indent/algorithm/trailing.py6
-rw-r--r--tests/indent/algorithm/trailing_whitespace.html11
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/indent/algorithm/trailing.py b/tests/indent/algorithm/trailing.py
new file mode 100644
index 000000000..9a753ae33
--- /dev/null
+++ b/tests/indent/algorithm/trailing.py
@@ -0,0 +1,6 @@
+class x: # Ignore comment
+
+class y:
+ def z(): # Ignore comment
+
+class t:
diff --git a/tests/indent/algorithm/trailing_whitespace.html b/tests/indent/algorithm/trailing_whitespace.html
new file mode 100644
index 000000000..f3cf177a2
--- /dev/null
+++ b/tests/indent/algorithm/trailing_whitespace.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="en">
+ <body>
+ <!-- This file deliberately contains trailing whitespace -->
+ <!-- Don't remove them -->
+ <div>
+ a
+
+ </div>
+ </body>
+</html>