1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-07-01 00:35:06 +02:00

Run gofmt -s over the codebase.

This commit is contained in:
Alec Thomas
2017-09-26 22:05:44 +10:00
parent c39abfb916
commit bc2d6680e4
33 changed files with 1007 additions and 1007 deletions

View File

@ -36,14 +36,14 @@ func TestSplitTokensIntoLines(t *testing.T) {
{Value: " world\nwhat?\n", Type: chroma.NameKeyword},
}
expected := [][]*chroma.Token{
[]*chroma.Token{
{
{Type: chroma.NameKeyword, Value: "hello"},
{Type: chroma.NameKeyword, Value: " world\n"},
},
[]*chroma.Token{
{
{Type: chroma.NameKeyword, Value: "what?\n"},
},
[]*chroma.Token{
{
{Type: chroma.NameKeyword},
},
}