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

More wrapping tests; Fix ignored test #68

Merged
merged 2 commits into from
Nov 10, 2016

Conversation

peterjc
Copy link
Contributor

@peterjc peterjc commented Nov 10, 2016

Due to clashing class names, the test added in 37ed4f5 was never live. This pull request activates the test with minor updates (now wrap at 80 chars, and no trailing new line).

However, the test was intended to verify #51 had been fixed - and instead shows that line-breaks are being inserted within long words.

In my pull request #53 I suggested this:

    wrapper.break_long_words=False

That alone stopped the line breaks within long words, but gave overly long lines.

I've tried the combination but this does not seem to work either...

    wrapper.break_long_words=False
    wrapper.break_on_hyphens=True

This pull request therefore just tests the current less-than-ideal behaviour, without fixing #51.

There were two classes TestEMBLFeature meaning the first one and its
single test were being ignored.

The test also needed updated to wrap at 80 rather than 79 characters
(after recent commits), and not expect a trailing newline.

However, the test itself was meant to verify sanger-pathogens#50 was fixed, but didn't.
The test needs changing as we do not want the long word to be split.
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