eproxus / meck

A mocking library for Erlang
http://eproxus.github.io/meck
Apache License 2.0
811 stars 231 forks source link

fix behavio(u)r attributes validation on Erlang R20 #176

Closed RoadRunnr closed 7 years ago

RoadRunnr commented 7 years ago

R20 now checks whether behavio(u)r attribute contains a valid module name. The attributes content was simply take from module_info/0. However, module_info/0 contains a list of behavior and the attribute should only contain as single module name.

Expand the list of behavio(u)rs into a list of attrbiutes to make erl_lint happy.

fixes #175

eproxus commented 7 years ago

Very nice! Thanks!