Skip to content

Commit 591d76e

Browse files
committed
Fix tests
1 parent 7a46377 commit 591d76e

File tree

2 files changed

+154
-154
lines changed

2 files changed

+154
-154
lines changed

test/aws_codegen_test.exs

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ defmodule AWS.CodeGenTest do
9696
}
9797
9898
\"\"\"
99-
@type audit_event() :: %{String.t() => any()}
99+
@type audit_event() :: %{String.t() | Atom.t() => any()}
100100
101101
@typedoc \"\"\"
102102
@@ -108,7 +108,7 @@ defmodule AWS.CodeGenTest do
108108
}
109109
110110
\"\"\"
111-
@type audit_event_result_entry() :: %{String.t() => any()}
111+
@type audit_event_result_entry() :: %{String.t() | Atom.t() => any()}
112112
113113
@typedoc \"\"\"
114114
@@ -119,7 +119,7 @@ defmodule AWS.CodeGenTest do
119119
}
120120
121121
\"\"\"
122-
@type channel_insufficient_permission() :: %{String.t() => any()}
122+
@type channel_insufficient_permission() :: %{String.t() | Atom.t() => any()}
123123
124124
@typedoc \"\"\"
125125
@@ -130,7 +130,7 @@ defmodule AWS.CodeGenTest do
130130
}
131131
132132
\"\"\"
133-
@type channel_not_found() :: %{String.t() => any()}
133+
@type channel_not_found() :: %{String.t() | Atom.t() => any()}
134134
135135
@typedoc \"\"\"
136136
@@ -141,7 +141,7 @@ defmodule AWS.CodeGenTest do
141141
}
142142
143143
\"\"\"
144-
@type channel_unsupported_schema() :: %{String.t() => any()}
144+
@type channel_unsupported_schema() :: %{String.t() | Atom.t() => any()}
145145
146146
@typedoc \"\"\"
147147
@@ -152,7 +152,7 @@ defmodule AWS.CodeGenTest do
152152
}
153153
154154
\"\"\"
155-
@type duplicated_audit_event_id() :: %{String.t() => any()}
155+
@type duplicated_audit_event_id() :: %{String.t() | Atom.t() => any()}
156156
157157
@typedoc \"\"\"
158158
@@ -163,7 +163,7 @@ defmodule AWS.CodeGenTest do
163163
}
164164
165165
\"\""
166-
@type invalid_channel_arn() :: %{String.t() => any()}
166+
@type invalid_channel_arn() :: %{String.t() | Atom.t() => any()}
167167
168168
@typedoc \"\"\"
169169
@@ -176,7 +176,7 @@ defmodule AWS.CodeGenTest do
176176
}
177177
178178
\"\"\"
179-
@type put_audit_events_request() :: %{String.t() => any()}
179+
@type put_audit_events_request() :: %{String.t() | Atom.t() => any()}
180180
181181
@typedoc \"\"\"
182182
@@ -188,7 +188,7 @@ defmodule AWS.CodeGenTest do
188188
}
189189
190190
\"\"\"
191-
@type put_audit_events_response() :: %{String.t() => any()}
191+
@type put_audit_events_response() :: %{String.t() | Atom.t() => any()}
192192
193193
@typedoc \"\"\"
194194
@@ -201,7 +201,7 @@ defmodule AWS.CodeGenTest do
201201
}
202202
203203
\"\"\"
204-
@type result_error_entry() :: %{String.t() => any()}
204+
@type result_error_entry() :: %{String.t() | Atom.t() => any()}
205205
206206
@typedoc \"\"\"
207207
@@ -212,7 +212,7 @@ defmodule AWS.CodeGenTest do
212212
}
213213
214214
\"\"\"
215-
@type unsupported_operation_exception() :: %{String.t() => any()}
215+
@type unsupported_operation_exception() :: %{String.t() | Atom.t() => any()}
216216
217217
@type put_audit_events_errors() ::
218218
unsupported_operation_exception()
@@ -334,7 +334,7 @@ defmodule AWS.CodeGenTest do
334334
}
335335
336336
\"\"\"
337-
@type audit_event() :: %{String.t() => any()}
337+
@type audit_event() :: %{String.t() | Atom.t() => any()}
338338
339339
@typedoc \"\"\"
340340
@@ -346,7 +346,7 @@ defmodule AWS.CodeGenTest do
346346
}
347347
348348
\"\"\"
349-
@type audit_event_result_entry() :: %{String.t() => any()}
349+
@type audit_event_result_entry() :: %{String.t() | Atom.t() => any()}
350350
351351
@typedoc \"\"\"
352352
@@ -357,7 +357,7 @@ defmodule AWS.CodeGenTest do
357357
}
358358
359359
\"\"\"
360-
@type channel_insufficient_permission() :: %{String.t() => any()}
360+
@type channel_insufficient_permission() :: %{String.t() | Atom.t() => any()}
361361
362362
@typedoc \"\"\"
363363
@@ -368,7 +368,7 @@ defmodule AWS.CodeGenTest do
368368
}
369369
370370
\"\"\"
371-
@type channel_not_found() :: %{String.t() => any()}
371+
@type channel_not_found() :: %{String.t() | Atom.t() => any()}
372372
373373
@typedoc \"\"\"
374374
@@ -379,7 +379,7 @@ defmodule AWS.CodeGenTest do
379379
}
380380
381381
\"\"\"
382-
@type channel_unsupported_schema() :: %{String.t() => any()}
382+
@type channel_unsupported_schema() :: %{String.t() | Atom.t() => any()}
383383
384384
@typedoc \"\"\"
385385
@@ -390,7 +390,7 @@ defmodule AWS.CodeGenTest do
390390
}
391391
392392
\"\"\"
393-
@type duplicated_audit_event_id() :: %{String.t() => any()}
393+
@type duplicated_audit_event_id() :: %{String.t() | Atom.t() => any()}
394394
395395
@typedoc \"\"\"
396396
@@ -401,7 +401,7 @@ defmodule AWS.CodeGenTest do
401401
}
402402
403403
\"\"\"
404-
@type invalid_channel_arn() :: %{String.t() => any()}
404+
@type invalid_channel_arn() :: %{String.t() | Atom.t() => any()}
405405
406406
@typedoc \"\"\"
407407
@@ -414,7 +414,7 @@ defmodule AWS.CodeGenTest do
414414
}
415415
416416
\"\"\"
417-
@type put_audit_events_request() :: %{String.t() => any()}
417+
@type put_audit_events_request() :: %{String.t() | Atom.t() => any()}
418418
419419
@typedoc \"\"\"
420420
@@ -426,7 +426,7 @@ defmodule AWS.CodeGenTest do
426426
}
427427
428428
\"\"\"
429-
@type put_audit_events_response() :: %{String.t() => any()}
429+
@type put_audit_events_response() :: %{String.t() | Atom.t() => any()}
430430
431431
@typedoc \"\"\"
432432
@@ -439,7 +439,7 @@ defmodule AWS.CodeGenTest do
439439
}
440440
441441
\"\"\"
442-
@type result_error_entry() :: %{String.t() => any()}
442+
@type result_error_entry() :: %{String.t() | Atom.t() => any()}
443443
444444
@typedoc \"\"\"
445445
@@ -450,7 +450,7 @@ defmodule AWS.CodeGenTest do
450450
}
451451
452452
\"\"\"
453-
@type unsupported_operation_exception() :: %{String.t() => any()}
453+
@type unsupported_operation_exception() :: %{String.t() | Atom.t() => any()}
454454
455455
@type put_audit_events_errors() ::
456456
unsupported_operation_exception()
@@ -578,7 +578,7 @@ defmodule AWS.CodeGenTest do
578578
}
579579
580580
\"\"\"
581-
@type audit_event() :: %{String.t() => any()}
581+
@type audit_event() :: %{String.t() | Atom.t() => any()}
582582
583583
@typedoc \"\"\"
584584
@@ -590,7 +590,7 @@ defmodule AWS.CodeGenTest do
590590
}
591591
592592
\"\"\"
593-
@type audit_event_result_entry() :: %{String.t() => any()}
593+
@type audit_event_result_entry() :: %{String.t() | Atom.t() => any()}
594594
595595
@typedoc \"\"\"
596596
@@ -601,7 +601,7 @@ defmodule AWS.CodeGenTest do
601601
}
602602
603603
\"\"\"
604-
@type channel_insufficient_permission() :: %{String.t() => any()}
604+
@type channel_insufficient_permission() :: %{String.t() | Atom.t() => any()}
605605
606606
@typedoc \"\"\"
607607
@@ -612,7 +612,7 @@ defmodule AWS.CodeGenTest do
612612
}
613613
614614
\"\"\"
615-
@type channel_not_found() :: %{String.t() => any()}
615+
@type channel_not_found() :: %{String.t() | Atom.t() => any()}
616616
617617
@typedoc \"\"\"
618618
@@ -623,7 +623,7 @@ defmodule AWS.CodeGenTest do
623623
}
624624
625625
\"\"\"
626-
@type channel_unsupported_schema() :: %{String.t() => any()}
626+
@type channel_unsupported_schema() :: %{String.t() | Atom.t() => any()}
627627
628628
@typedoc \"\"\"
629629
@@ -634,7 +634,7 @@ defmodule AWS.CodeGenTest do
634634
}
635635
636636
\"\"\"
637-
@type duplicated_audit_event_id() :: %{String.t() => any()}
637+
@type duplicated_audit_event_id() :: %{String.t() | Atom.t() => any()}
638638
639639
@typedoc \"\"\"
640640
@@ -645,7 +645,7 @@ defmodule AWS.CodeGenTest do
645645
}
646646
647647
\"\"\"
648-
@type invalid_channel_arn() :: %{String.t() => any()}
648+
@type invalid_channel_arn() :: %{String.t() | Atom.t() => any()}
649649
650650
@typedoc \"\"\"
651651
@@ -658,7 +658,7 @@ defmodule AWS.CodeGenTest do
658658
}
659659
660660
\"\"\"
661-
@type put_audit_events_request() :: %{String.t() => any()}
661+
@type put_audit_events_request() :: %{String.t() | Atom.t() => any()}
662662
663663
@typedoc \"\"\"
664664
@@ -670,7 +670,7 @@ defmodule AWS.CodeGenTest do
670670
}
671671
672672
\"\"\"
673-
@type put_audit_events_response() :: %{String.t() => any()}
673+
@type put_audit_events_response() :: %{String.t() | Atom.t() => any()}
674674
675675
@typedoc \"\"\"
676676
@@ -683,7 +683,7 @@ defmodule AWS.CodeGenTest do
683683
}
684684
685685
\"\"\"
686-
@type result_error_entry() :: %{String.t() => any()}
686+
@type result_error_entry() :: %{String.t() | Atom.t() => any()}
687687
688688
@typedoc \"\"\"
689689
@@ -694,7 +694,7 @@ defmodule AWS.CodeGenTest do
694694
}
695695
696696
\"\"\"
697-
@type unsupported_operation_exception() :: %{String.t() => any()}
697+
@type unsupported_operation_exception() :: %{String.t() | Atom.t() => any()}
698698
699699
@type put_audit_events_errors() ::
700700
unsupported_operation_exception()

0 commit comments

Comments
 (0)