0
0

tweak syntax

This commit is contained in:
Marty Schoch 2016-04-02 23:17:47 -04:00
parent 020ea1b8ee
commit 4433964f78

View File

@ -29,7 +29,7 @@ func TestHTMLFragmentFormatter1(t *testing.T) {
End: 19, End: 19,
}, },
tlm: search.TermLocationMap{ tlm: search.TermLocationMap{
"quick": search.Locations{ "quick": []*search.Location{
{ {
Pos: 2, Pos: 2,
Start: 4, Start: 4,
@ -64,7 +64,7 @@ func TestHTMLFragmentFormatter2(t *testing.T) {
End: 19, End: 19,
}, },
tlm: search.TermLocationMap{ tlm: search.TermLocationMap{
"quick": search.Locations{ "quick": []*search.Location{
{ {
Pos: 2, Pos: 2,
Start: 4, Start: 4,