Skip to content

Commit

Permalink
chore: a few grammar updates (#121)
Browse files Browse the repository at this point in the history
## Related Ticket(s)

<!--
Enter the Jira issue below in the following format: PROJECT-##
-->

## Checklist

<!--
For each bullet, ensure your pr meets the criteria and write a note
explaining how this PR relates. Mark them as complete as they are done.
All top-level checkboxes should be checked regardless of their relevance
to the pr with a note explaining whether they are relevant or not.
-->

- [x] Code conforms to the [Elixir
Styleguide](https://github.com/christopheradams/elixir_style_guide)

## Problem

<!--
What is the problem you're solving or feature you're implementing? Link
to any Jira tickets or previous discussions of the issue.
-->

## Details

<!--
Include a brief overview of the technical process you took (or are going
to take!) to get from the problem to the solution.
-->
  • Loading branch information
msutkowski authored Nov 12, 2024
1 parent 8ddc754 commit 1a01b52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/kafee/producer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ defmodule Kafee.Producer do
were sent in your code. See `Kafee.Producer.TestAdapter` and
`Kafee.Testing` for more information.
> #### OPT 26+ {: .info}
> #### OTP 26+ {: .info}
>
> If you are using OTP 26 or later, maps are no longer sorted in a consistent
> way. This means if you are testing JSON formatted messages, there is a good
Expand Down
8 changes: 4 additions & 4 deletions lib/kafee/test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Kafee.Test do
## Note on sending from other processes
If you are sending emails from another process (for example,
If you are sending messages from another process (for example,
from inside a `Task` or `GenServer`) you may need to use
the shared mode. See the docs on `__using__/1` for more
information.
Expand Down Expand Up @@ -53,8 +53,8 @@ defmodule Kafee.Test do
Sometimes messages don't show up when asserting because you can send messages
from a _different_ process than the test process. When that happens,
turn on the shared mode. This will tell `Kafee.Producer.TestAdapter` to always
send the to the test process. This means that you cannot use shared mode with
async tests.
send the messages to the test process. This means that you cannot use shared
mode with async tests.
Try to use this first:
Expand Down Expand Up @@ -139,7 +139,7 @@ defmodule Kafee.Test do
end

@doc """
Returns a list of messages that has been produced during
Returns a list of messages that have been produced during
the test. We do _not_ recommend using this function as it
can change between tests very easily.
Expand Down

0 comments on commit 1a01b52

Please sign in to comment.