From 474c59dcf1d5586d6ef0d3f91b380c6c25eb314b Mon Sep 17 00:00:00 2001 From: Pham Huy Hoang Date: Mon, 3 Apr 2023 23:47:41 +0900 Subject: add test --- tests/indent/algorithm/trailing.py | 6 ++++++ tests/indent/algorithm/trailing_whitespace.html | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/indent/algorithm/trailing.py create mode 100644 tests/indent/algorithm/trailing_whitespace.html (limited to 'tests/indent/algorithm') 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 @@ + + + + + +
+ a + +
+ + -- cgit v1.2.3-70-g09d2