-
Notifications
You must be signed in to change notification settings - Fork 287
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
Unit tests #242
Unit tests #242
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, except these three reenabled tests. Should be disabled as it's a TCI terminal emulation issue.
@@ -130,7 +129,6 @@ mod tests { | |||
|
|||
// TODO - Test is ingored, because it's stalled on Travis CI | |||
#[test] | |||
#[ignore] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These don't work on TCI, should be disabled. See the comment above (in the code).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea I saw the comments, just wanted to try it again. Unfortunately...
@@ -128,8 +128,12 @@ impl ITerminal for WinApiTerminal { | |||
resize_buffer = true; | |||
} | |||
|
|||
println!("{:?}", new_size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be removed.
BTW you can run ignored tests locally by adding |
On mobile, can't find the Approve button, so, approved :D |
Increased get terminal size by one (corrected change)
Decreased set terminal size windows by 1. Windows starts counting from 0, when setting the size to 5, 5 windows will see that as 6,6, therefore we need to subtract 1.
removed ignores from test