From 3d843154bc18a20d5bb7b50814b3918bca96c08d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 27 Feb 2009 13:58:11 -0800 Subject: test_exec: be more liberal regarding terminal output 23x79 looks better in a terminal, but the Ruby 1.9 OptionParser output adds a little more whitespace requiring 24x80 output, which is still fine... --- test/exec/test_exec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/exec/test_exec.rb b/test/exec/test_exec.rb index b539b22..d050991 100644 --- a/test/exec/test_exec.rb +++ b/test/exec/test_exec.rb @@ -112,9 +112,9 @@ end # after_fork # Be considerate of the on-call technician working from their # mobile phone or netbook on a slow connection :) - assert lines.size < 24, "help height fits in an ANSI terminal window" + assert lines.size <= 24, "help height fits in an ANSI terminal window" lines.each do |line| - assert line.size < 80, "help width fits in an ANSI terminal window" + assert line.size <= 80, "help width fits in an ANSI terminal window" end end -- cgit v1.2.3-24-ge0c7