mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Renaming test files according to their language (#3407)
This commit is contained in:
parent
43ca74549d
commit
ef9613e2d6
178 changed files with 171 additions and 169 deletions
17
test/tw-2189.test.sh
Executable file
17
test/tw-2189.test.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
. bash_tap_tw.sh
|
||||
|
||||
task add "foo \' bar"
|
||||
task list
|
||||
|
||||
# Assert the task was correctly added
|
||||
[[ ! -z `task list | grep "foo ' bar"` ]]
|
||||
[[ `task _get 1.description` == "foo ' bar" ]]
|
||||
|
||||
# Bonus: Assert escaped double quotes are also handled correctly
|
||||
task add 'foo \" bar'
|
||||
task list
|
||||
|
||||
# Assert the task was correctly added
|
||||
[[ ! -z `task list | grep 'foo " bar'` ]]
|
||||
[[ `task _get 2.description` == 'foo " bar' ]]
|
Loading…
Add table
Add a link
Reference in a new issue