Ad
  • Custom User Avatar

    In Haskell I get the following error when attempting:

    expected: "SOS! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG."
    but got: "?! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. "

    Weirdly this test goes through!
    decodeMorse "... --- ... -.-.-- - .... . --.- ..- .. -.-. -.- -... .-. --- .-- -. ..-. --- -..- .--- ..- -- .--. ... --- ...- . .-. - .... . .-.. .- --.. -.-- -.. --- --. .-.-.-" shouldBe "SOS! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG."