test/lib/vedeu/support/esc_test.rb in vedeu-0.0.40 vs test/lib/vedeu/support/esc_test.rb in vedeu-0.0.41
- old
+ new
@@ -6,20 +6,20 @@
describe '.background_colour' do
it 'returns an escape sequence' do
Esc.background_colour.must_equal("\e[48;5;16m")
end
- it 'returns an empty string if the value is empty' do
+ it 'returns an empty string when the value is empty' do
Esc.background_colour('').must_equal('')
end
end
describe '.foreground_colour' do
it 'returns an escape sequence' do
Esc.foreground_colour.must_equal("\e[38;5;231m")
end
- it 'returns an empty string if the value is empty' do
+ it 'returns an empty string when the value is empty' do
Esc.foreground_colour('').must_equal('')
end
end
describe '.set_position' do