test/lib/vedeu/output/foreground_test.rb in vedeu-0.0.16 vs test/lib/vedeu/output/foreground_test.rb in vedeu-0.0.17
- old
+ new
@@ -33,11 +33,11 @@
it 'returns a String' do
subject.must_be_instance_of(String)
end
it 'returns an escape sequence' do
- subject.must_equal("\e[38;5;31m")
+ subject.must_equal("\e[38;2;31m")
end
end
context 'with a html colour' do
let(:colour) { '#aadd00' }
@@ -57,10 +57,10 @@
it 'returns a String' do
subject.must_be_instance_of(String)
end
it 'returns an escape sequence' do
- subject.must_equal("\e[38;5;39m")
+ subject.must_equal("\e[38;2;39m")
end
end
end
end
end