Skip to content

Commit c791b07

Browse files
authored
Fix typo embedded (#147)
1 parent a0e8cf6 commit c791b07

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/avrora/codec/object_container_file.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ defmodule Avrora.Codec.ObjectContainerFile do
5353

5454
@impl true
5555
def decode(payload, schema: _schema) when is_binary(payload) do
56-
Logger.warning("message already contains embeded schema, given schema will be ignored")
56+
Logger.warning("message already contains embedded schema, given schema will be ignored")
5757
decode(payload)
5858
end
5959

test/avrora/codec/object_container_file_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ defmodule Avrora.Codec.ObjectContainerFileTest do
116116
assert decoded == [%{"id" => "00000000-0000-0000-0000-000000000000", "amount" => 15.99}]
117117
end)
118118

119-
assert output =~ "message already contains embeded schema, given schema will be ignored"
119+
assert output =~ "message already contains embedded schema, given schema will be ignored"
120120
end
121121
end
122122

test/avrora/encoder_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ defmodule Avrora.EncoderTest do
287287
assert decoded == [%{"id" => "00000000-0000-0000-0000-000000000000", "amount" => 15.99}]
288288
end)
289289

290-
assert output =~ "message already contains embeded schema, given schema will be ignored"
290+
assert output =~ "message already contains embedded schema, given schema will be ignored"
291291
end
292292

293293
test "when payload contains type references it resolves them and generates new schema" do

0 commit comments

Comments
 (0)