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:
Fintan Halpenny 2025-10-17 16:57:06 +01:00
parent c1d9f04963
commit 38ca038a0d
1 changed files with 3 additions and 3 deletions

View File

@ -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'.
```