Skip to content

Commit dfc7a15

Browse files
authored
Fix typos (#191)
1 parent 7d80c6b commit dfc7a15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ shotgun:close(Conn).
100100

101101
### Specifying a Timeout
102102

103-
The `timeout` option can be used to specifiy a value for all types of requests:
103+
The `timeout` option can be used to specify a value for all types of requests:
104104

105105
```erlang
106106
{ok, Conn} = shotgun:open("google.com", 80).
@@ -136,7 +136,7 @@ calling the `shotgun:events/1`. Default value is `undefined`.
136136
The following is an example of the usage of **shotgun** when consuming SSE.
137137

138138
```erlang
139-
{ok, Conn} = shotgun:open("locahost", 8080).
139+
{ok, Conn} = shotgun:open("localhost", 8080).
140140
%= {ok,<0.6003.0>}
141141

142142
Options = #{async => true, async_mode => sse}},

test/shotgun_async_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ work_queue(Config) ->
114114
ct:comment("Queued GET should return a ref as well"),
115115
{ok, Response} = shotgun:get(Conn, <<"/">>),
116116
#{status_code := 200} = Response,
117-
ct:comment("Events frmo the async GET should be there"),
117+
ct:comment("Events from the async GET should be there"),
118118
Events = shotgun:events(Conn),
119119
21 = length(Events), %% 20 nofin + 1 fin
120120

0 commit comments

Comments
 (0)