-
-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Need to read in those test results as a file, since the CPP preprocessor trips on those multiline strings Also use @?= instead of `shouldBe`, since the exception thrown by it gets caught by tasty and is pretty printed
- Loading branch information
Showing
9 changed files
with
76 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
foo :: Int -> String -> IO () | ||
foo x y = do | ||
print x | ||
return 42 | ||
print x | ||
return 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
foo :: Int -> String -> IO () | ||
foo :: Int -> String-> IO () | ||
foo x y = do | ||
print x | ||
return 42 | ||
print x | ||
return 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
foo :: Int -> String -> IO () | ||
foo x y = do | ||
print x | ||
return 42 | ||
print x | ||
return 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
foo :: Int -> String -> IO () | ||
foo :: Int -> String-> IO () | ||
foo x y = do | ||
print x | ||
return 42 | ||
print x | ||
return 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module Format where | ||
foo :: Int -> Int | ||
foo 3 = 2 | ||
foo x = x | ||
bar :: String -> IO String | ||
bar s = do | ||
x <- return "hello" | ||
return "asdf" | ||
|
||
data Baz = Baz { a :: Int, b :: String } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module Format where | ||
|
||
foo :: Int -> Int | ||
foo 3 = 2 | ||
foo x = x | ||
|
||
bar :: String -> IO String | ||
bar s = do | ||
x <- return "hello" | ||
return "asdf" | ||
|
||
data Baz = Baz { a :: Int, b :: String } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module Format where | ||
|
||
foo :: Int -> Int | ||
foo 3 = 2 | ||
foo x = x | ||
|
||
bar :: String -> IO String | ||
bar s = do | ||
x <- return "hello" | ||
return "asdf" | ||
|
||
data Baz = Baz { a :: Int, b :: String } | ||
|