We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b417159 commit 6621ae7Copy full SHA for 6621ae7
gems/aws-sdk-core/spec/aws/plugins/recursion_detection_spec.rb
@@ -89,12 +89,14 @@ module Plugins
89
end
90
91
context 'X_AMX_TRACE_ID with invalid characters' do
92
- let(:env_trace_id) { "invalid header" + 31.chr }
+ (0..31).each do |char|
93
+ let(:env_trace_id) { "invalid header" + char.chr }
94
- it 'validates the trace-id and raises an error' do
95
- expect do
96
- client.operation_with_trace_id
97
- end.to raise_error(ArgumentError)
+ it "validates the trace-id with #{char} and raises an error" do
+ expect do
+ client.operation_with_trace_id
98
+ end.to raise_error(ArgumentError)
99
+ end
100
101
102
0 commit comments