judah / haskeline

A Haskell library for line input in command-line programs.
https://hackage.haskell.org/package/haskeline
BSD 3-Clause "New" or "Revised" License
221 stars 75 forks source link

Tests are failing on `master` #183

Open andreasabel opened 11 months ago

andreasabel commented 11 months ago
Test suite haskeline-tests: RUNNING...
### Failure in: 0:interaction:0:Unicode encoding (valid):0
tests/RunTTY.hs:106
expected: ["\ESC[?1h\ESC=0:","x\206\177\206\178\206\179y"]
 but got: ["\ESC[?1h\ESC=","0:x\206\177\206\178\206\179y"]
### Failure in: 0:interaction:4:history encoding:2
tests/RunTTY.hs:106
expected: ["abc??x?x?"]
 but got: ["abc\206\177\239\191\189x\239\191\189x\239\191\189"]
### Failure in: 0:interaction:5:getInputChar:1:bad encoding (separate)
tests/RunTTY.hs:106
expected: ["\ESC[?1h\ESC=0:","\206\177\r\n\ESC[?1l\ESC>line 0:\206\177\n\ESC[?1h\ESC=1:","\239\191\189\r\n\ESC[?1l\ESC>line 1:\239\191\189\n\ESC[?1h\ESC=2:","x\r\n\ESC[?1l\ESC>line 2:x\n\ESC[?1h\ESC=3:",""]
 but got: ["\ESC[?1h\ESC=","\206\177\&0:\206\177\r\n\ESC[?1l\ESC>line 0:\206\177\n\ESC[?1h\ESC=1:","\239\191\189\r\n\ESC[?1l\ESC>line 1:\239\191\189\n\ESC[?1h\ESC=2:","x\r\n\ESC[?1l\ESC>line 2:x\n\ESC[?1h\ESC=3:",""]
Cases: 26  Tried: 26  Errors: 0  Failures: 3

Build info: MacOS Monterey, GHC 9.6.3

cabal-plan fingerprint

b0b7538871ffc058486fc00740886d2f3172f8fa6869936bfe83a5e10bd744ab G HUnit-1.6.2.0
________________________________________________________________ B array-0.5.5.0
________________________________________________________________ B base-4.18.1.0
ac21ca63452dfc9b0bcab87c57699c531d87f7a9bcb6230ca46fba1b7faeebc0 G binary-0.8.9.1
________________________________________________________________ B bytestring-0.11.5.2
430bcf8a3404f7e55319573c0b807b1356946f0c8f289bb3d9afb279c636b87b G call-stack-0.4.0
cf6902d4d27158f0b8643673a230a75c98169d388295f9b641686c83ce15e324 G containers-0.7
________________________________________________________________ B deepseq-1.4.8.1
________________________________________________________________ B directory-1.3.8.1
________________________________________________________________ B exceptions-0.10.7
________________________________________________________________ B filepath-1.4.100.4
________________________________________________________________ B ghc-bignum-1.3
________________________________________________________________ B ghc-boot-th-9.6.3
________________________________________________________________ B ghc-prim-0.10.0
________________________________________________________________ L haskeline-0.8.2.1
________________________________________________________________ B mtl-2.3.1
________________________________________________________________ B pretty-1.1.3.6
________________________________________________________________ B process-1.6.17.0
________________________________________________________________ B rts-1.0.2
________________________________________________________________ B stm-2.5.1.0
________________________________________________________________ B system-cxx-std-lib-1.0
________________________________________________________________ B template-haskell-2.20.0.0
________________________________________________________________ B terminfo-0.4.1.6
cbe65b04a28a96a1de364d19c5ee33dc63cd253aa2716d22ceb8496b2062b6c8 G text-2.1
________________________________________________________________ B time-1.12.2
________________________________________________________________ B transformers-0.6.1.0
________________________________________________________________ B unix-2.8.1.0