1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-19 21:10:15 +02:00
chroma/formatters/html/html_test.go
2017-09-18 14:19:59 +10:00

15 lines
291 B
Go

package html
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestCompressStyle(t *testing.T) {
style := "color: #888888; background-color: #faffff"
actual := compressStyle(style)
expected := "color:#888;background-color:#faffff"
require.Equal(t, expected, actual)
}