Skip to content

Commit b8ba041

Browse files
gkostin1966José Valim
authored and
José Valim
committed
Update introduction-to-mix.markdown (elixir-lang#1330)
Consistent with other examples.
1 parent bee86a3 commit b8ba041

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

getting-started/mix-otp/introduction-to-mix.markdown

+10-7
Original file line numberDiff line numberDiff line change
@@ -206,16 +206,19 @@ Mix also generated a file named `test/test_helper.exs` which is responsible for
206206
ExUnit.start()
207207
```
208208

209-
This file will be required by Mix every time before we run our tests. We can run tests with `mix test`:
209+
This file will be required by Mix every time before we run our tests. We can run tests with:
210210

211-
Compiled lib/kv.ex
212-
Generated kv app
213-
..
211+
```console
212+
$ mix test
213+
Compiled lib/kv.ex
214+
Generated kv app
215+
..
214216

215-
Finished in 0.04 seconds
216-
1 doctest, 1 test, 0 failures
217+
Finished in 0.04 seconds
218+
1 doctest, 1 test, 0 failures
217219

218-
Randomized with seed 540224
220+
Randomized with seed 540224
221+
```
219222

220223
Notice that by running `mix test`, Mix has compiled the source files and generated the application manifest once again. This happens because Mix supports multiple environments, which we will discuss later in this chapter.
221224

0 commit comments

Comments
 (0)