aboutsummaryrefslogtreecommitdiff
path: root/test/T030-config.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-07-01 12:18:45 -0300
committerDavid Bremner <david@tethera.net>2017-07-12 17:46:29 -0300
commita32dd81a55a5d745dbf840b42d03e835a4e1e45c (patch)
tree09a70a8b3d9675e1129f5f8828a5b809b7353e1a /test/T030-config.sh
parentde9baa29dc990e4166b47dc2b0d0cf560014834b (diff)
cli: add space separator for keyword, string, and int arguments
Defer the complication of optional boolean arguments for later (never?).
Diffstat (limited to 'test/T030-config.sh')
-rwxr-xr-xtest/T030-config.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/T030-config.sh b/test/T030-config.sh
index 0915abdb..79a24948 100755
--- a/test/T030-config.sh
+++ b/test/T030-config.sh
@@ -69,6 +69,14 @@ notmuch --config=alt-config config set user.name "Another Name"
test_expect_equal "$(notmuch --config=alt-config config get user.name)" \
"Another Name"
+test_begin_subtest "Top level --config:FILE option"
+test_expect_equal "$(notmuch --config:alt-config config get user.name)" \
+ "Another Name"
+
+test_begin_subtest "Top level --config<space>FILE option"
+test_expect_equal "$(notmuch --config alt-config config get user.name)" \
+ "Another Name"
+
test_begin_subtest "Top level --config=FILE option changed the right file"
test_expect_equal "$(notmuch config get user.name)" \
"Notmuch Test Suite"