- Tweaked build for linux.

- Tweaked how errno is sent back to Java land.
This commit is contained in:
Adam Murdoch
2012-08-03 16:24:00 +10:00
parent d2542adf36
commit 433347491c
6 changed files with 20 additions and 7 deletions

View File

@@ -14,12 +14,12 @@ class TerminalTest extends Specification {
!terminal.isTerminal(Terminal.Output.Stderr);
}
def "cannot detemine terminal size from a test"() {
def "cannot determine terminal size from a test"() {
when:
terminal.getTerminalSize(Terminal.Output.Stdout)
then:
NativeException e = thrown()
e.message == 'Could not get terminal size. Errno is 25.'
e.message.startsWith('Could not get terminal size. Errno is ')
}
}