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

Throw XLLoadException when failing to load an OpenXML package #892

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

igitur
Copy link
Member

@igitur igitur commented May 31, 2018

Fixes #822

@@ -76,6 +77,16 @@ public void CanSuccessfullyLoadLOFiles()
}
}

[Test]
public void InvalidFileThrowsCustomException()
Copy link
Member

Choose a reason for hiding this comment

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

I think there have to be 3 tests - one for each method throwing an exception - so we won't lose it in case of future refactoring.

@igitur
Copy link
Member Author

igitur commented Jun 1, 2018

@Pankraty Yup, just want to confirm that this is indeed what @kenleese wanted.

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.

None yet

2 participants