]> git.cworth.org Git - obsolete/notmuch-old/blob - test/argument-parsing
test: Force reply to use html2text for consistency
[obsolete/notmuch-old] / test / argument-parsing
1 #!/usr/bin/env bash
2 test_description="argument parsing"
3 . ./test-lib.sh
4
5 test_begin_subtest "sanity check"
6 $TEST_DIRECTORY/arg-test  pos1  --keyword=one --string=foo pos2 --int=7 > OUTPUT
7 cat <<EOF > EXPECTED
8 keyword 1
9 int 7
10 string foo
11 positional arg 1 pos1
12 positional arg 2 pos1
13 EOF
14 test_expect_equal_file OUTPUT EXPECTED
15
16 test_done