|
49 | 49 | 'pg_restore: options -s/--schema-only and -a/--data-only cannot be used together' |
50 | 50 | ); |
51 | 51 |
|
52 | | -command_exit_is( |
53 | | - [ 'pg_restore', '-d', 'xxx', '-f', 'xxx' ], |
| 52 | +command_exit_is([ 'pg_restore', '-d', 'xxx', '-f', 'xxx' ], |
54 | 53 | 1, |
55 | | -'pg_restore: options -d/--dbname and -f/--file cannot be used together' |
56 | | -); |
| 54 | + 'pg_restore: options -d/--dbname and -f/--file cannot be used together'); |
57 | 55 |
|
58 | 56 | command_exit_is( |
59 | 57 | [ 'pg_dump', '-c', '-a' ], |
|
63 | 61 | command_exit_is( |
64 | 62 | [ 'pg_restore', '-c', '-a' ], |
65 | 63 | 1, |
66 | | - 'pg_restore: options -c/--clean and -a/--data-only cannot be used together'); |
| 64 | +'pg_restore: options -c/--clean and -a/--data-only cannot be used together'); |
67 | 65 |
|
68 | 66 | command_exit_is( |
69 | 67 | [ 'pg_dump', '--inserts', '-o' ], |
|
80 | 78 | command_exit_is([ 'pg_dump', '-j3' ], |
81 | 79 | 1, 'pg_dump: parallel backup only supported by the directory format'); |
82 | 80 |
|
83 | | -command_exit_is([ 'pg_restore', '--single-transaction', '-j3' ], |
84 | | - 1, 'pg_restore: cannot specify both --single-transaction and multiple jobs'); |
| 81 | +command_exit_is( |
| 82 | + [ 'pg_restore', '--single-transaction', '-j3' ], |
| 83 | + 1, |
| 84 | + 'pg_restore: cannot specify both --single-transaction and multiple jobs'); |
85 | 85 |
|
86 | 86 | command_exit_is([ 'pg_restore', '--if-exists' ], |
87 | 87 | 1, 'pg_restore: option --if-exists requires option -c/--clean'); |
|
0 commit comments