Skip to content

Added assertEq, deprecated assertEqual#1259

Merged
snoyberg merged 1 commit intoyesodweb:masterfrom
bitemyapp:add-pretty-assert
Aug 10, 2016
Merged

Added assertEq, deprecated assertEqual#1259
snoyberg merged 1 commit intoyesodweb:masterfrom
bitemyapp:add-pretty-assert

Conversation

@bitemyapp
Copy link
Copy Markdown
Contributor

For #1255

"First argument: " ++ ppShow a ++ "\n" ++
"Second argument: " ++ ppShow b ++ "\n"

{-# DEPRECATED assertEqual "Use assertEqual instead" #-}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean Use assertEq instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snoyberg quite right! Forgot to amend it after I figured out the name.

extra-source-files: README.md, LICENSE, test/main.hs, ChangeLog.md

library
build-depends: base >= 4.3 && < 5
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were the edits to this file intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snoyberg yes, my eyes swam checking for something, so I fired my re-ordering function on it. I can remove it if you like.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally I keep such changes separate, but not a big deal. I'll merge once Travis goes green.

@snoyberg snoyberg merged commit 13d9f58 into yesodweb:master Aug 10, 2016
snoyberg added a commit that referenced this pull request Aug 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants