mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
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:
@@ -3,21 +3,21 @@ There are other rules as well:
|
||||
|
||||
``` (stderr) (fail)
|
||||
$ 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'.
|
||||
```
|
||||
|
||||
``` (stderr) (fail)
|
||||
$ 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'.
|
||||
```
|
||||
|
||||
``` (stderr) (fail)
|
||||
$ 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'.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user