Skip to content

Add indentation tests for constructor and deriving #1129

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 2 commits into from
Feb 4, 2016
Merged

Add indentation tests for constructor and deriving #1129

merged 2 commits into from
Feb 4, 2016

Conversation

karljs
Copy link
Contributor

@karljs karljs commented Feb 3, 2016

This adds two tests for indenting simple data type definitions. I didn't entirely understand the numbering scheme, so I just made an educated guess and added them at the end. If that's wrong, let me know and I can fix it.

See #1125 for a brief explanation.

@gracjan
Copy link
Contributor

gracjan commented Feb 3, 2016

Add a star to mark tests as failing, so 55* and 55a*.

@gracjan gracjan changed the title add indentation tests for constructor and deriving Add indentation tests for constructor and deriving Feb 4, 2016
gracjan added a commit that referenced this pull request Feb 4, 2016
Add indentation tests for constructor and deriving
@gracjan gracjan merged commit b562d05 into haskell:master Feb 4, 2016
@gracjan
Copy link
Contributor

gracjan commented Feb 4, 2016

Great, thanks, that helped a lot. It is already fixed, will be merged when Travis finishes its job.

Indentation could use some more test cases. For example we miss test case for LambdaCase:

https://coveralls.io/files/1940562436#L580

Can you add it, @karljs?

@karljs
Copy link
Contributor Author

karljs commented Feb 6, 2016

@gracjan No problem. I will take a look at the other test case you mentioned in the next day or two.

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