@@ -21,14 +21,14 @@ func TestCmdTrustAudit(t *testing.T) {
2121 cmdtest .TestHelp (t , CmdTrustAudit , "trust" , "audit" , "--help" )
2222 })
2323
24- t .Run ("--organization testOrg" , func (t * testing.T ) {
25- err := cmdtest .TestError (t , CmdTrustAudit , "--organization " , "testOrg" )
26- require .ErrorContains (t , err , "if any flags in the group [organization realm] are set they must all be set; missing [realm]" )
24+ t .Run ("--org testOrg" , func (t * testing.T ) {
25+ err := cmdtest .TestError (t , CmdTrustAudit , "--org " , "testOrg" )
26+ require .ErrorContains (t , err , "if any flags in the group [org realm] are set they must all be set; missing [realm]" )
2727 })
2828
2929 t .Run ("-o testOrg" , func (t * testing.T ) {
3030 err := cmdtest .TestError (t , CmdTrustAudit , "-o" , "testOrg" )
31- require .ErrorContains (t , err , "if any flags in the group [organization realm] are set they must all be set; missing [realm]" )
31+ require .ErrorContains (t , err , "if any flags in the group [org realm] are set they must all be set; missing [realm]" )
3232 })
3333
3434 t .Run ("-o testOrg -r testRealm" , func (t * testing.T ) {
@@ -39,12 +39,12 @@ func TestCmdTrustAudit(t *testing.T) {
3939
4040 t .Run ("--realm testRealm" , func (t * testing.T ) {
4141 err := cmdtest .TestError (t , CmdTrustAudit , "--realm" , "testRealm" )
42- require .ErrorContains (t , err , "if any flags in the group [organization realm] are set they must all be set; missing [organization ]" )
42+ require .ErrorContains (t , err , "if any flags in the group [org realm] are set they must all be set; missing [org ]" )
4343 })
4444
4545 t .Run ("-r testRealm" , func (t * testing.T ) {
4646 err := cmdtest .TestError (t , CmdTrustAudit , "-r" , "testRealm" )
47- require .ErrorContains (t , err , "if any flags in the group [organization realm] are set they must all be set; missing [organization ]" )
47+ require .ErrorContains (t , err , "if any flags in the group [org realm] are set they must all be set; missing [org ]" )
4848 })
4949
5050 t .Run ("default --trust-stores" , func (t * testing.T ) {
0 commit comments