tests/search/scripts: fix test for symbol search on Writer
tests/search/scripts: fix test for symbol search on Writer

The tests "Prefer symbols by package path, then symbol name" was broken
because there was unnecessary commas in between the symbol name and
package path. This is now fixed.

Tests in CI were will passing because of a bug in tests/search/main.go
fixed in the next CL.

For golang/go#44142

Change-Id: I7ef53a09e31c0b4026ad0e192973ea3851c1ce21
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/339549
Trust: Julie Qiu <8d32267b6b4884cf35adeaccde2b6857ae11aace@golang.org>
Run-TryBot: Julie Qiu <8d32267b6b4884cf35adeaccde2b6857ae11aace@golang.org>
TryBot-Result: kokoro <2ac7b1f3fa578934c95181d4272be0d3bca00121@google.com>
Reviewed-by: Jamal Carvalho <e0195770807aa8c82b0b128d9c0423b5ad035172@golang.org>

golang/pkgsite,golang/pkgsite,golang/pkgsite,golang/pkgsite