tweak syntax slightly
This commit is contained in:
parent
1c69112820
commit
020ea1b8ee
@ -30,7 +30,7 @@ func TestHTMLFragmentFormatter1(t *testing.T) {
|
|||||||
},
|
},
|
||||||
tlm: search.TermLocationMap{
|
tlm: search.TermLocationMap{
|
||||||
"quick": search.Locations{
|
"quick": search.Locations{
|
||||||
&search.Location{
|
{
|
||||||
Pos: 2,
|
Pos: 2,
|
||||||
Start: 4,
|
Start: 4,
|
||||||
End: 9,
|
End: 9,
|
||||||
@ -65,7 +65,7 @@ func TestHTMLFragmentFormatter2(t *testing.T) {
|
|||||||
},
|
},
|
||||||
tlm: search.TermLocationMap{
|
tlm: search.TermLocationMap{
|
||||||
"quick": search.Locations{
|
"quick": search.Locations{
|
||||||
&search.Location{
|
{
|
||||||
Pos: 2,
|
Pos: 2,
|
||||||
Start: 4,
|
Start: 4,
|
||||||
End: 9,
|
End: 9,
|
||||||
|
Loading…
Reference in New Issue
Block a user