Created
August 26, 2014 09:28
-
-
Save edgurgel/ee00ba8fd846316bb2c4 to your computer and use it in GitHub Desktop.
Unused warning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test "should not give warning?" do | |
a = "a" | |
b = "b" | |
send self, {a, b} | |
assert_receive {a, b} | |
# test/unusedwarning_test.exs:8: warning: variable a is unused | |
# test/unusedwarning_test.exs:8: warning: variable b is unused | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment