summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDenis Isidoro <denisidoro@users.noreply.github.com>2020-04-11 11:06:34 -0300
committerGitHub <noreply@github.com>2020-04-11 11:06:34 -0300
commit4451624ce0179823c9bd616362f24f2dc75501b8 (patch)
tree00d3a176f2c79f259d7fc07f3c790bf92a1f9f67 /tests
parent6b9d97bc090a5ddf22c152b8e05fb09063ab6cef (diff)
Show snippet in variable prompt (#337)v2.5.0
Fixes #320
Diffstat (limited to 'tests')
-rw-r--r--tests/cheats/more_cases.cheat5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/cheats/more_cases.cheat b/tests/cheats/more_cases.cheat
index 898a052..46e3992 100644
--- a/tests/cheats/more_cases.cheat
+++ b/tests/cheats/more_cases.cheat
@@ -38,6 +38,9 @@ cat "<file>"
# with map
echo "<mapped>"
+# empty
+echo "http://google.com?q=<query>"
+
# fzf
ls / | fzf
@@ -51,7 +54,7 @@ $ langs: echo 'clojure rust javascript' | tr ' ' '\n' --- --multi
$ mapped: echo 'true false' | tr ' ' '\n' --- --map "[[ $0 == t* ]] && echo 1 || echo 0"
$ examples: echo -e 'foo bar\nlorem ipsum\ndolor sit' --- --multi
$ multiword: echo -e 'foo bar\nlorem ipsum\ndolor sit\nbaz'i
-$ file: ls . --- --preview 'cat {}' --preview-window '50%'
+$ file: ls . --- --preview 'cat {}' --preview-window 'right:50%'
# this should be displayed
echo hi \ No newline at end of file