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

fix tests which were unconditionally passing failed assertions #737

Merged
merged 1 commit into from
Oct 4, 2016

Conversation

brendankenny
Copy link
Member

Found a set of tests that weren't testing anything since anything caught by the assert(false) path was immediately handled by a catch. In most cases I just got rid of the catch since most of the gatherers here don't intentionally throw and so any that do should be caught by mocha.

No bugs caught here, just making them do what they say on the tin :)

debugString: 'Unable to get document body innerText'
};
});
.then(result => {
Copy link
Member Author

@brendankenny brendankenny Oct 4, 2016

Choose a reason for hiding this comment

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

just indentation in this file

@paulirish paulirish merged commit 391d2d0 into master Oct 4, 2016
@paulirish paulirish deleted the catchy branch October 4, 2016 01:32
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