test/lib/vedeu/support/esc_test.rb in vedeu-0.0.34 vs test/lib/vedeu/support/esc_test.rb in vedeu-0.0.35
- old
+ new
@@ -11,15 +11,9 @@
it 'returns an empty string if the value is empty' do
Esc.background_colour('').must_equal('')
end
end
- describe '.clear_line' do
- it 'returns an escape sequence' do
- Esc.clear_line.must_equal("\e[2K")
- end
- end
-
describe '.clear_last_line' do
it 'returns an escape sequence to clear the last line' do
IO.console.stub :winsize, [25, 25] do
Esc.clear_last_line.must_equal("\e[24;1H\e[2K")
end