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

Update PingPongActivityTest.java #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jonodude
Copy link

Modified test to ignore linefeeds and white spaces in the test results.
This will allow a test to pass even if a line feed or tab is in the wrong position.

Initially I inserted my line feed before the output string. This change will allow before, after or no linefeed to pass. I admit no linefeed would result in an ugly display, but the underlying code would still be functionally correct.

Modified test to ignore linefeeds and white spaces in the test results. This will allow a test to pass even if a line feed or tab is in the wrong position.
@dfernandezm
Copy link

In a Motorola Moto G the test would never pass without this fix. The number of spaces and \n characters vary between Android devices.

Is it going to be merged at any moment?

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