tweak syntax
This commit is contained in:
parent
020ea1b8ee
commit
4433964f78
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user