@@ -39,7 +39,7 @@ test "search" {
3939 inspect(
4040 Query ::search(Query ::new("abc"), items~),
4141 content=(
42- $|[\ "aBc \ ", \ "abc\ ", \ "Abc_defgh \ ", \ "___abc___\ "]
42+ #|[ "aBc ", "abc", "Abc_defgh ", "___abc___"]
4343 ),
4444 )
4545}
@@ -49,19 +49,19 @@ test "split_by_matching_sections" {
4949 inspect(
5050 Query ::split_by_matching_sections(Query ::new("foo"), item="foo bar baz"),
5151 content=(
52- $ |Some ([(true , \ "foo\ "), (false , \ " bar baz\ ")])
52+ # |Some ([(true , "foo"), (false , " bar baz")])
5353 ),
5454 )
5555 inspect(
5656 Query ::split_by_matching_sections(Query ::new("abc"), item="____abc____"),
5757 content=(
58- $ |Some ([(false , \ "____\ "), (true , \ "abc\ "), (false , \ "____\ ")])
58+ # |Some ([(false , "____"), (true , "abc"), (false , "____")])
5959 ),
6060 )
6161 inspect(
6262 Query ::split_by_matching_sections(Query ::new("a ab"), item="a b"),
6363 content=(
64- $ |Some ([(true , \"a\ "), (false , \" \ "), (true , \"b\ ")])
64+ # |Some ([(true , "a "), (false , " "), (true , "b ")])
6565 ),
6666 )
6767}
0 commit comments