test(search): use a neutral name in the query parser test
1 files changed, +2 −2
- unit_test.go modified +2 −2
unit_test.go modified
| @@ -44,8 +44,8 @@ func TestClientIP(t *testing.T) { | ||
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | func TestParseQuery(t *testing.T) { |
| 47 | - text, quals := parseQuery(`kernel language:"Standard ML" user:~james tag:sel4`) | |
| 48 | - if text != "kernel" || quals["language"] != "Standard ML" || quals["user"] != "james" || quals["tag"] != "sel4" { | |
| 47 | + text, quals := parseQuery(`kernel language:"Standard ML" user:~alice tag:sel4`) | |
| 48 | + if text != "kernel" || quals["language"] != "Standard ML" || quals["user"] != "alice" || quals["tag"] != "sel4" { | |
| 49 | 49 | t.Errorf("got %q %v", text, quals) |
| 50 | 50 | } |
| 51 | 51 | if got := stripLanguage(`x lang:go tag:"a b"`); got != `x tag:"a b"` { |