Closed arnedirlelwy closed 8 months ago
Can you post the cmock section of your project.yml file here for reference? It's hard to know which setting(s) you might be missing without seeing what you have. :)
Hello, yes, here it is currently. I also have added :when_ptr :compare_ptr and :when_ptr :smart and couldn't get that to fix the problem.
Yeah, I started digging into it after I replied yesterday. I think it's a bug that crept into Unity. I'm going to fix it and add some tests to keep it from creeping back in.
Ohk Thank you!
Hello. I am trying to use ExpectWithArray and have the actual pointer compared (not the values at the pointer). The documentation says to pass 0 for param_depth and set mode (I am assuming for ':when_ptr :smart" and the ptr will be checked. But when I set that up and run it I get told this and the test fails.
Am I missing something in the setup to do the pointer comparison. Do I need to have treat_as setup some specific way? Or does this not work when passing 0.