0
0
Fork 0

updated tests for <mark></mark>

This commit is contained in:
Marty Schoch 2015-07-06 17:56:45 -04:00
parent e2223f5121
commit 7f0961424d
2 changed files with 3 additions and 3 deletions

View File

@ -306,7 +306,7 @@ func ExampleNewHighlight() {
fmt.Println(searchResults.Hits[0].Fragments["Name"][0])
// Output:
// great <span class="highlight">nameless</span> one
// great <mark>nameless</mark> one
}
func ExampleNewHighlightWithStyle() {

View File

@ -350,7 +350,7 @@
{
"id": "b",
"fragments": {
"name": ["steve has a <span class=\"highlight\">long</span> name"]
"name": ["steve has a <mark>long</mark> name"]
}
}
]
@ -373,7 +373,7 @@
{
"id": "b",
"fragments": {
"name": ["steve has a <span class=\"highlight\">long</span> name"]
"name": ["steve has a <mark>long</mark> name"]
}
}
]