summaryrefslogtreecommitdiff
path: root/shell/completion.bash
diff options
context:
space:
mode:
authorVlastimil Ovčáčík <vovcacik@github.ovcacik.org>2021-09-24 02:45:06 +0200
committerGitHub <noreply@github.com>2021-09-24 09:45:06 +0900
commit88d74a15aaeb1e1445180910520e2147060dfc9b (patch)
tree71f2c64fe0cff38788d60471cf5cb6d60c4e8f71 /shell/completion.bash
parent0f02fc0c77356a7b72b05131edf6c99d8efa6d33 (diff)
downloadfzf-88d74a15aaeb1e1445180910520e2147060dfc9b.tar.gz
Change the tests to run on Windows (#2615)
Most of the "expected" strings in terminal.go test were changed to "text/template" values. Quotes in those string were parametrized in the templates. Two functions handling templates were added for convenience. Templates has the advantage of: - parametrize repetitive strings inside "expected" values - inner and outer quotes were parametrized in templates - long and confusing test values are more readable - templates can be localized for other operating systems
Diffstat (limited to 'shell/completion.bash')
0 files changed, 0 insertions, 0 deletions