From 5ec7715d418bfac0f26aec6039792a99a6e89370 Mon Sep 17 00:00:00 2001 From: Alec Theriault Date: Fri, 20 Jul 2018 04:49:47 -0700 Subject: Add some more unicode related tests (#872) This has been fixed for sure ever since we switched from attoparsec to parsec. Parts of it may have been working before that, but there was a point where this would have failed (see #191). A regression test never hurt anyone. :) --- html-test/ref/Unicode2.html | 100 ++++++++++++++++++++++++++++++++++++++++++++ html-test/src/Unicode2.hs | 18 ++++++++ 2 files changed, 118 insertions(+) create mode 100644 html-test/ref/Unicode2.html create mode 100644 html-test/src/Unicode2.hs diff --git a/html-test/ref/Unicode2.html b/html-test/ref/Unicode2.html new file mode 100644 index 00000000..bf667bae --- /dev/null +++ b/html-test/ref/Unicode2.html @@ -0,0 +1,100 @@ +Unicode2

Safe HaskellSafe

Unicode2

Synopsis

Documentation

ü :: () #

All of the following work with a unicode character ü:

  • an italicized ü
  • inline code ü
  • a code block:
ü
\ No newline at end of file diff --git a/html-test/src/Unicode2.hs b/html-test/src/Unicode2.hs new file mode 100644 index 00000000..ca6b18ba --- /dev/null +++ b/html-test/src/Unicode2.hs @@ -0,0 +1,18 @@ +module Unicode2 where + +-- | All of the following work with a unicode character ü: +-- +-- * an italicized /ü/ +-- +-- * inline code @ü@ +-- +-- * a code block: +-- +-- > ü +-- +-- * a url +-- +-- * a link to 'ü' +-- +ü :: () +ü = () -- cgit v1.2.3