Skip to content

Commit

Permalink
forth: remove non-ASCII cases
Browse files Browse the repository at this point in the history
  • Loading branch information
petertseng authored and rbasso committed Feb 1, 2017
1 parent 68d44cf commit e6c0172
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions exercises/forth/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "forth" $ do

-- Test cases adapted from `exercism/x-common/forth` on 2016-11-06.
-- Test cases adapted from `exercism/x-common/forth` on 2017-02-01.

let runTexts = fmap toList . foldM (flip evalText) empty

Expand Down Expand Up @@ -123,9 +123,6 @@ specs = describe "forth" $ do
runTexts [ ": swap dup ;"
, "1 swap" ] `shouldBe` Right [1, 1]

it "can consist of arbitrary characters such as Unicode characters" $
runTexts [": € 220371 ; €"] `shouldBe` Right [220371]

it "cannot redefine numbers" $
runTexts [": 1 2 ;"] `shouldBe` Left InvalidWord

Expand Down

0 comments on commit e6c0172

Please sign in to comment.