From 48452b2dabe139bfeacc50a1acd4963ba9a4b6b1 Mon Sep 17 00:00:00 2001 From: Hiroki Tokunaga Date: Sat, 29 Apr 2023 10:36:13 +0900 Subject: [PATCH 1/2] Add a test for #103 --- TESTS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/TESTS.md b/TESTS.md index 649b99d96..acca47f89 100644 --- a/TESTS.md +++ b/TESTS.md @@ -3363,3 +3363,13 @@ Escaped newlines #define SHORT_MACRO_DEFINITION \ x ``` + +## Literature Haskell + +Code with `>`s + +```haskell +> -- https://github.com/mihaimaruseac/hindent/issues/103 +> foo :: a +> foo = undefined +``` \ No newline at end of file From 886fea8dc744fe8c936d30c8cb8352dc6ab8ee84 Mon Sep 17 00:00:00 2001 From: Hiroki Tokunaga Date: Sat, 29 Apr 2023 10:38:49 +0900 Subject: [PATCH 2/2] Fix typo --- TESTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTS.md b/TESTS.md index acca47f89..b45acd8f6 100644 --- a/TESTS.md +++ b/TESTS.md @@ -3364,7 +3364,7 @@ Escaped newlines x ``` -## Literature Haskell +## Literate Haskell Code with `>`s