summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2017-04-12 14:37:15 -0700
committerGitHub <noreply@github.com>2017-04-12 14:37:15 -0700
commitd284b72c615bcccaea7d2c48b801a67962ccfe17 (patch)
tree70308c1fb0602f9bc418b5f4b43fdcd3b730d55e
parent4bac0ed2a413b7f846e8862f4f3ff3814a0f1421 (diff)
parentd15ea91b714c56c2d94996f3f5138edd062e5a5d (diff)
Merge pull request #1528 from lrascao/fix/occured_typo
Fix typo, occured -> occurred
-rw-r--r--src/rebar_prv_common_test.erl2
-rw-r--r--src/rebar_prv_dialyzer.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl
index bbd2a11..62dd9f1 100644
--- a/src/rebar_prv_common_test.erl
+++ b/src/rebar_prv_common_test.erl
@@ -93,7 +93,7 @@ format_error({error, Reason}) ->
format_error({error_running_tests, Reason}) ->
format_error({error, Reason});
format_error({failures_running_tests, {Failed, AutoSkipped}}) ->
- io_lib:format("Failures occured running tests: ~b", [Failed+AutoSkipped]);
+ io_lib:format("Failures occurred running tests: ~b", [Failed+AutoSkipped]);
format_error({badconfig, {Msg, {Value, Key}}}) ->
io_lib:format(Msg, [Value, Key]);
format_error({badconfig, Msg}) ->
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl
index 21d7f5a..867b9cb 100644
--- a/src/rebar_prv_dialyzer.erl
+++ b/src/rebar_prv_dialyzer.erl
@@ -118,7 +118,7 @@ maybe_fix_env() ->
format_error({error_processing_apps, Error}) ->
io_lib:format("Error in dialyzing apps: ~s", [Error]);
format_error({dialyzer_warnings, Warnings}) ->
- io_lib:format("Warnings occured running dialyzer: ~b", [Warnings]);
+ io_lib:format("Warnings occurred running dialyzer: ~b", [Warnings]);
format_error({unknown_application, App}) ->
io_lib:format("Could not find application: ~s", [App]);
format_error({unknown_module, Mod}) ->