diff options
| author | David Bremner <david@tethera.net> | 2021-01-02 13:10:39 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-02-06 19:52:11 -0400 |
| commit | 0d3bef312dd624225825e6fe175ea8830c1c9e39 (patch) | |
| tree | 3c9fdf207c504eec56f47e98ca3851b15f119307 /test/T050-new.sh | |
| parent | 5ef731f1aa0aa3d8fc89d1e724c021dbed8d4418 (diff) | |
cli/new: convert to new config framework
In addition to the same type of changes as converting other
subcommands, add the possibility of creating a database at the top
level. It would probably make sense to use this for insert as well.
Diffstat (limited to 'test/T050-new.sh')
| -rwxr-xr-x | test/T050-new.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/T050-new.sh b/test/T050-new.sh index 009b2633..882939fa 100755 --- a/test/T050-new.sh +++ b/test/T050-new.sh @@ -324,10 +324,10 @@ test_expect_equal "$output" "" OLDCONFIG=$(notmuch config get new.tags) -test_begin_subtest "Empty tags in new.tags are forbidden" +test_begin_subtest "Empty tags in new.tags are ignored" notmuch config set new.tags "foo;;bar" -output=$(NOTMUCH_NEW --debug 2>&1) -test_expect_equal "$output" "Error: tag '' in new.tags: empty tag forbidden" +output=$(NOTMUCH_NEW --quiet 2>&1) +test_expect_equal "$output" "" test_begin_subtest "Tags starting with '-' in new.tags are forbidden" notmuch config set new.tags "-foo;bar" |
