Skip to content

Commit

Permalink
integration-tests: disable failing unicode package name on OS X, for …
Browse files Browse the repository at this point in the history
…now (#1810)
  • Loading branch information
borsboom committed May 2, 2016
1 parent 0e49b66 commit 87fec57
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 @@ -122,6 +122,9 @@ exeExt = if isWindows then ".exe" else ""
-- | Is the OS Windows?
isWindows = os == "mingw32"

-- | 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 87fec57

Please sign in to comment.