@@ -46,7 +46,8 @@ groups() ->
46
46
pid_decompose_compose ,
47
47
platform_and_version ,
48
48
frame_encoding_does_not_fail_with_empty_binary_payload ,
49
- map_exception_does_not_fail_with_unicode_explaination ,
49
+ map_exception_does_not_fail_with_unicode_explaination_case1 ,
50
+ map_exception_does_not_fail_with_unicode_explaination_case2 ,
50
51
amqp_table_conversion ,
51
52
name_type ,
52
53
get_erl_path ,
@@ -416,13 +417,20 @@ frame_encoding_does_not_fail_with_empty_binary_payload(_Config) ->
416
417
]],
417
418
ok .
418
419
419
- map_exception_does_not_fail_with_unicode_explaination (_Config ) ->
420
+ map_exception_does_not_fail_with_unicode_explaination_case1 (_Config ) ->
420
421
NonAsciiExplaination = " no queue 'non_ascii_name_😍_你好' in vhost '/'" ,
421
422
rabbit_binary_generator :map_exception (0 ,
422
423
# amqp_error {name = not_found , explanation = NonAsciiExplaination , method = 'queue.declare' },
423
424
rabbit_framing_amqp_0_9_1 ),
424
425
ok .
425
426
427
+ map_exception_does_not_fail_with_unicode_explaination_case2 (_Config ) ->
428
+ NonAsciiExplaination = " no queue 'кролик 🐰' in vhost '/'" ,
429
+ rabbit_binary_generator :map_exception (0 ,
430
+ # amqp_error {name = not_found , explanation = NonAsciiExplaination , method = 'queue.declare' },
431
+ rabbit_framing_amqp_0_9_1 ),
432
+ ok .
433
+
426
434
amqp_table_conversion (_Config ) ->
427
435
assert_table (#{}, []),
428
436
assert_table (#{<<" x-expires" >> => 1000 },
0 commit comments