about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-07-20 15:33:19 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-20 15:33:19 +0200
commit86281072f9b943c23119f1c90cd33934caf1d737 (patch)
treee6109de8096bc23298f1346b49f2053cc407ac03 /tests
parentc5c969a9295abe688ad7fd9afce430bae5df910c (diff)
downloadprofani-tty-86281072f9b943c23119f1c90cd33934caf1d737.tar.gz
Use parse_args_with_freetext() for `/correct`
This commit partly reverts
8f37afcd37ad8663ca36c13ca7fbc4a431119f73
Which was using a wrong approach to achieve this.

It changed parse_args() to have a -1 for infinite parameters.
But actually parse_args_with_freetext() should have been used exactly
for this behaviour.

Discovered when checking for
https://github.com/profanity-im/profanity/issues/1404
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
ames Booth <boothj5@gmail.com> 2015-07-27 00:04:48 +0100 committer James Booth <boothj5@gmail.com> 2015-07-27 00:04:48 +0100 Fixed tests for new command format' href='/danisanti/profani-tty/commit/tests/unittests/test_cmd_sub.c?id=8119025120b0b511aea8bc3f477d2aff835bd24b'>81190251 ^
976f3e30 ^

976f3e30 ^

3bb1f124 ^
976f3e30 ^


81190251 ^
976f3e30 ^
976f3e30 ^
0331cbe2 ^


0331cbe2 ^

3bb1f124 ^
0331cbe2 ^
81190251 ^
0331cbe2 ^
81190251 ^
0331cbe2 ^
0331cbe2 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40