Created
January 26, 2011 04:45
-
-
Save voluntas/796242 to your computer and use it in GitHub Desktop.
meck + ets ... errorr orz
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
Eshell V5.8.2 (abort with ^G) | |
1> code:unstick_mod(ets). | |
true | |
2> meck:new(ets). | |
ok | |
3> meck:expect(ets, insert, 2, ok). | |
=ERROR REPORT==== 26-Jan-2011::13:45:19 === | |
Loading of failed: badfile | |
=ERROR REPORT==== 26-Jan-2011::13:45:19 === | |
beam/beam_load.c(1200): Error loading function ets:module_info/1: op int_code_end: : | |
exported function insert/2 redefines BIF | |
=ERROR REPORT==== 26-Jan-2011::13:45:19 === | |
** Generic server ets_meck terminating | |
** Last message in was {expect,insert,2,ok} | |
** When Server state == {state,ets, | |
{dict,0,16,16,8,80,48, | |
{[],[],[],[],[],[],[],[],[],[],[],[],[], | |
[],[],[]}, | |
{{[],[],[],[],[],[],[],[],[],[],[],[],[], | |
[],[],[]}}}, | |
true,[],false} | |
** Reason for termination == | |
** {error_loading_module,ets,badfile} | |
** exception exit: {error_loading_module,ets,badfile} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment