diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2017-08-10 23:59:40 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-08-10 23:59:52 +0900 |
| commit | 02a7b96f33036192abb5816b5860e546e6b4e64e (patch) | |
| tree | ac1e1ecbbd08db5c7df0979ca08209437857b35d /src/pattern_test.go | |
| parent | e55e029ae8002c46e117d55bdfcc725b69bc21ef (diff) | |
| download | fzf-02a7b96f33036192abb5816b5860e546e6b4e64e.tar.gz | |
Treat $ as proper search query
When $ is the leading character in a query, it's probably not meant to
be an anchor.
Diffstat (limited to 'src/pattern_test.go')
| -rw-r--r-- | src/pattern_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pattern_test.go b/src/pattern_test.go index efb1ef2d..7adc51db 100644 --- a/src/pattern_test.go +++ b/src/pattern_test.go @@ -58,7 +58,7 @@ func TestParseTermsExtendedExact(t *testing.T) { } func TestParseTermsEmpty(t *testing.T) { - terms := parseTerms(true, CaseSmart, false, "' $ ^ !' !^ !$") + terms := parseTerms(true, CaseSmart, false, "' ^ !' !^") if len(terms) != 0 { t.Errorf("%s", terms) } |
