cli: fix test regression in 27a85987c3
A test failure was caused in commit
27a85987c3, which expected `STRING`
instead of `ALIAS`.
This change fixes that discrepancy.
This commit is contained in:
parent
c1d9f04963
commit
38ca038a0d
|
|
@ -3,21 +3,21 @@ There are other rules as well:
|
||||||
|
|
||||||
``` (stderr) (fail)
|
``` (stderr) (fail)
|
||||||
$ rad auth --alias "5fad63fe6b339fa92c588d926121bea6240773a7"
|
$ rad auth --alias "5fad63fe6b339fa92c588d926121bea6240773a7"
|
||||||
error: invalid value '5fad63fe6b339fa92c588d926121bea6240773a7' for '--alias <STRING>': alias cannot be greater than 32 bytes
|
error: invalid value '5fad63fe6b339fa92c588d926121bea6240773a7' for '--alias <ALIAS>': alias cannot be greater than 32 bytes
|
||||||
|
|
||||||
For more information, try '--help'.
|
For more information, try '--help'.
|
||||||
```
|
```
|
||||||
|
|
||||||
``` (stderr) (fail)
|
``` (stderr) (fail)
|
||||||
$ rad auth --alias "john doe"
|
$ rad auth --alias "john doe"
|
||||||
error: invalid value 'john doe' for '--alias <STRING>': alias cannot contain whitespace or control characters
|
error: invalid value 'john doe' for '--alias <ALIAS>': alias cannot contain whitespace or control characters
|
||||||
|
|
||||||
For more information, try '--help'.
|
For more information, try '--help'.
|
||||||
```
|
```
|
||||||
|
|
||||||
``` (stderr) (fail)
|
``` (stderr) (fail)
|
||||||
$ rad auth --alias ""
|
$ rad auth --alias ""
|
||||||
error: invalid value '' for '--alias <STRING>': alias cannot be empty
|
error: invalid value '' for '--alias <ALIAS>': alias cannot be empty
|
||||||
|
|
||||||
For more information, try '--help'.
|
For more information, try '--help'.
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue