summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBrujo Benavides <elbrujohalcon@inaka.net>2016-09-28 19:32:22 -0300
committerBrujo Benavides <elbrujohalcon@inaka.net>2016-09-28 19:32:22 -0300
commit3f0e56d9c8c6da6c304543e47ff83e101aabf847 (patch)
tree1558c0469c82a7caf94c3e607f8dfb98804d7319 /test
parenta40fe42d906fde0be0534b6c6acf7e5868860357 (diff)
Add support for behaviors, and not just behaviours
Diffstat (limited to 'test')
-rw-r--r--test/rebar_xref_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rebar_xref_SUITE.erl b/test/rebar_xref_SUITE.erl
index 75d6786..09f73a7 100644
--- a/test/rebar_xref_SUITE.erl
+++ b/test/rebar_xref_SUITE.erl
@@ -150,7 +150,7 @@ get_module_body(mymod, AppName, IgnoreXref) ->
["-ignore_xref([{other2,1},{localfunc2,0},{fdeprecated,0}]).\n"
|| X <- [IgnoreXref], X =:= true],
"-behaviour(", AppName, "_behaviour1).\n", % 2 behaviours
- "-behaviour(", AppName, "_behaviour2).\n",
+ "-behavior(", AppName, "_behaviour2).\n",
"-deprecated({fdeprecated,0}).\n", % deprecated function
"bh1_a(A) -> localfunc1(bh1_a, A).\n", % behaviour functions
"bh1_b(A) -> localfunc1(bh1_b, A).\n",