Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renaming tests assert_message_received tests to fix ambiguity

  • Loading branch information...
commit c3a96a4378fbca70b3f19f9cfa805e23b66d915c 1 parent 331555c
@nruth authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 nspy.erl
View
4 nspy.erl
@@ -35,7 +35,7 @@ assert_message_received(Spy, Expected) ->
?assert(MessageFound)
end.
-mock_spy_message_received_test() ->
+assert_message_received_success_test() ->
Spy = nspy:mock(),
Spy ! hi,
Spy ! ho,
@@ -43,7 +43,7 @@ mock_spy_message_received_test() ->
assert_message_received(Spy, hi),
assert_message_received(Spy, ho).
-mock_spy__message_not_received_test() ->
+assert_message_received_failure_test() ->
Spy = nspy:mock(),
Spy ! hi,
timer:sleep(200),
Please sign in to comment.
Something went wrong with that request. Please try again.