Skip to content

Add haskell-simple-indent-tests.el. #422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 14, 2015
Merged

Add haskell-simple-indent-tests.el. #422

merged 1 commit into from
Jan 14, 2015

Conversation

gracjan
Copy link
Contributor

@gracjan gracjan commented Jan 10, 2015

For now testing only haskell-simple-indent function.

For now testing only haskell-simple-indent function.
@purcell
Copy link
Member

purcell commented Jan 14, 2015

This is great. What would it take to hook these tests into the makefile... :-)

@gracjan
Copy link
Contributor Author

gracjan commented Jan 14, 2015

It is already connected as Makefile just finds files tests/*-tests.el :)

See:

$ make EMACS=$EMACS check-haskell-simple-indent
Checking haskell-simple-indent.el...
Scanning haskell-simple-indent.el...
Scanning haskell-simple-indent.el...done
Checking haskell-simple-indent.el...OK
Wrote /Users/gracjan/Sources/haskell-mode/haskell-simple-indent.elc

Running 6 tests (2015-01-14 20:27:56+0100)
   failed  1/6  find-indent-and-backtab-positions-1
   failed  2/6  find-indent-and-backtab-positions-2
   passed  3/6  find-indent-positions-1
   passed  4/6  find-indent-positions-2
   passed  5/6  find-indent-positions-3
   passed  6/6  find-indent-positions-4

Ran 6 tests, 6 results as expected (2015-01-14 20:27:56+0100)
2 expected failures

@purcell
Copy link
Member

purcell commented Jan 14, 2015

Aha, great -- I'd missed that.

purcell added a commit that referenced this pull request Jan 14, 2015
@purcell purcell merged commit 39630cb into haskell:master Jan 14, 2015
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