Unable to mock lists module #87

eproxus opened this Issue Nov 4, 2012 · 2 comments


None yet

2 participants

1> meck:new(lists, [passthrough, unstick]).

Crash dump was written to: erl_crash.dump
The code server called the unloaded module `lists'

I'm getting the same when mocking os or filename.


I think there are a few modules that have this problem, as the compiler (which Meck uses internally) relies on them.

The only practical solution I see to this problem is to not use the compiler, which would be tricky indeed.

@eproxus eproxus closed this Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment