Unable to mock lists module #87

Closed
eproxus opened this Issue Nov 4, 2012 · 2 comments

Projects

None yet

2 participants

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

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

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

@eproxus
Owner

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