[GHC] #3384: Add HsSyn prettyprinter tests

GHC ghc-devs at haskell.org
Sat Dec 17 19:21:51 UTC 2016


#3384: Add HsSyn prettyprinter tests
-------------------------------------+-------------------------------------
        Reporter:  igloo             |                Owner:
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Test Suite        |              Version:
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2752
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Tamar Christina <tamar@…>):

 In [changeset:"d88efb7048160c3031eadb4f3b729e9fe406414d/ghc" d88efb7/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d88efb7048160c3031eadb4f3b729e9fe406414d"
 Fix Pretty printer tests on Windows

 Summary:
 D2752 added some tests which escapes string literals. This means newlines
 are converted
 before they get normalized by the IO functions. So on Windows \r\n would
 be in the output
 while \n was expected.

 Test Plan: make test -C testsuite/tests/printer

 Reviewers: austin, bgamari, alanz

 Reviewed By: alanz

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D2873

 GHC Trac Issues: #3384
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3384#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list