File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ service ServiceWithNoAuth {
1111}
1212
1313// This operation does not have the @auth trait and is bound to a service
14- // without the @ auth trait . This operation does not support any authentication schemes.
14+ // without auth. This operation does not support any authentication schemes.
1515operation OperationH {}
1616
1717// This operation has the @optionalAuth trait and is bound to a service
18- // without the @ auth trait . This operation does not support any authentication schemes.
18+ // without auth. This operation does not support any authentication schemes.
1919@optionalAuth
2020operation OperationI {}
Original file line number Diff line number Diff line change 2828 it 'returns the auth options for the operation with the optionalAuth trait' do
2929 params = NoAuthTrait ::AuthParameters . new ( operation_name : :operation_g )
3030 auth_options = subject . resolve ( params )
31- expect ( auth_options ) . to eq ( %w[ smithy.api#httpBasicAuth smithy.api#httpBearerAuth smithy.api#httpDigestAuth
32- smithy.api#noAuth ] )
31+ expect ( auth_options ) . to eq (
32+ %w[
33+ smithy.api#httpBasicAuth
34+ smithy.api#httpBearerAuth
35+ smithy.api#httpDigestAuth
36+ smithy.api#noAuth
37+ ]
38+ )
3339 end
3440 end
3541 end
You can’t perform that action at this time.
0 commit comments