Skip to content
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

Code fix unit tests: FileMayOnlyContainASingleClass #352

Closed
sharwell opened this issue Jan 11, 2015 · 3 comments
Closed

Code fix unit tests: FileMayOnlyContainASingleClass #352

sharwell opened this issue Jan 11, 2015 · 3 comments
Assignees
Milestone

Comments

@sharwell
Copy link
Member

Implement unit tests for #351.

@sharwell
Copy link
Member Author

Right now we only test that the second class was removed from the original file. We need to also test that the contents were correctly added to a new file with the expected name. I'm not sure what the best way to do this is, but I would at least start by looking at the unit tests for SA1649.

@bjornhellander
Copy link
Contributor

PR #2140 added check of the newly created file's content. I can have a go at also checking the file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants