Skip to content

Commit

Permalink
Redisable test on OS X due to Unicode normalization
Browse files Browse the repository at this point in the history
See #3616
  • Loading branch information
snoyberg committed Nov 30, 2017
1 parent d18c620 commit 2703ba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions test/integration/lib/StackTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ getIsAlpine = doesFileExist "/etc/alpine-release"
isARM :: Bool
isARM = arch == "arm"

-- | Is the OS Mac OS X?
isMacOSX = os == "darwin"

-- | To avoid problems with GHC version mismatch when a new LTS major
-- version is released, pass this argument to @stack@ when running in
-- a global context. The LTS major version here should match that of
Expand Down
3 changes: 2 additions & 1 deletion test/integration/tests/1336-1337-new-package-names/Main.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import StackTest
import Control.Monad
import System.Directory
import System.FilePath

Expand All @@ -17,7 +18,7 @@ main =
stackErr ["new", "44444444444444"]
stackErr ["new", "abc-1"]
stackErr ["new", "444-ば日本-4本"]
stack ["new", "ば日本-4本"]
unless isMacOSX $ stack ["new", "ば日本-4本"]
stack ["new", "אבהץש"]
stack ["new", "ΔΘΩϬ"]
doesExist "./ΔΘΩϬ/stack.yaml"
Expand Down

0 comments on commit 2703ba4

Please sign in to comment.