From ac3f6488ecf3510dfaf3d2fd49d5cc89fb0c5d69 Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" Date: Wed, 22 Sep 2021 21:48:21 +0800 Subject: [PATCH] Fix typos --- README.md | 4 ++-- test/dialyxir/formatter_test.exs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7b2ef4f..9bff5a1 100644 --- a/README.md +++ b/README.md @@ -265,7 +265,7 @@ For example, in a project where `mix dialyzer --format dialyzer` outputs: ``` Proceeding with analysis... -config.ex:64: The call ets:insert('Elixir.MyApp.Config',{'Elixir.MyApp.Config',_}) might have an unintended effect due to a possible race condition caused by its combination withthe ets:lookup('Elixir.MyApp.Config','Elixir.MyApp.Config') call in config.ex on line 26 +config.ex:64: The call ets:insert('Elixir.MyApp.Config',{'Elixir.MyApp.Config',_}) might have an unintended effect due to a possible race condition caused by its combination with the ets:lookup('Elixir.MyApp.Config','Elixir.MyApp.Config') call in config.ex on line 26 config.ex:79: Guard test is_binary(_@5::#{'__exception__':='true', '__struct__':=_, _=>_}) can never succeed config.ex:79: Guard test is_atom(_@6::#{'__exception__':='true', '__struct__':=_, _=>_}) can never succeed done in 0m1.32s @@ -283,7 +283,7 @@ And then run `mix dialyzer` would output: ``` Proceeding with analysis... -config.ex:64: The call ets:insert('Elixir.MyApp.Config',{'Elixir.MyApp.Config',_}) might have an unintended effect due to a possible race condition caused by its combination withthe ets:lookup('Elixir.MyApp.Config','Elixir.MyApp.Config') call in config.ex on line 26 +config.ex:64: The call ets:insert('Elixir.MyApp.Config',{'Elixir.MyApp.Config',_}) might have an unintended effect due to a possible race condition caused by its combination with the ets:lookup('Elixir.MyApp.Config','Elixir.MyApp.Config') call in config.ex on line 26 done in 0m1.32s done (warnings were emitted) ``` diff --git a/test/dialyxir/formatter_test.exs b/test/dialyxir/formatter_test.exs index 8b0eaab..235993a 100644 --- a/test/dialyxir/formatter_test.exs +++ b/test/dialyxir/formatter_test.exs @@ -53,7 +53,7 @@ defmodule Dialyxir.FormatterTest do end) end - test "lists unnecessary skips as warnings if ignoreing exit status " do + test "lists unnecessary skips as warnings if ignoring exit status " do warning = {:warn_return_no_exit, {'a/regex_file.ex', 17}, {:no_return, [:only_normal, :format_long, 1]}}