test: fix test case match pattern

This commit is contained in:
Zaiming (Stone) Shi 2023-09-26 11:40:30 +02:00
parent cd8a3be59d
commit 7d810c2107
1 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ t_crud(Config) ->
<<"code">> := <<"BAD_REQUEST">>,
<<"message">> :=
#{
<<"expected">> := [_ | _],
<<"expected">> := <<"avro | protobuf">>,
<<"field_name">> := <<"type">>
}
}},
@ -301,7 +301,7 @@ t_crud(Config) ->
<<"code">> := <<"BAD_REQUEST">>,
<<"message">> :=
#{
<<"expected">> := [_ | _],
<<"expected">> := <<"avro | protobuf">>,
<<"field_name">> := <<"type">>
}
}},