chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi all,

When I use the "ASSERT_WAS_CALLED(fakeWin32Wrapper->CreateDirectory(IS<const wchar_t*>([](const wchar_t* sz) { return wcscmp(L"C:\\ProgramData\\Manufacturer", sz) == 0; }), EQ(NULL)));" function, the comparison does not work properly in the Lamda function. Obviously, the passed string has been shortened to only two characters (or four characters for char strings). My question: is this a bug, or am I making a mistake? In the second case, how can I evaluate this correctly?
asked by Peter (600 points)

1 Answer

0 votes
Hi Peter,

Thank you for reaching out.

I'm sending you a private email so you could send us the logs of the run to explore.


Daniel Markov.

Support Specialist.
answered by Daniel Markov (5.8k points)