luabind-deboostified icon indicating copy to clipboard operation
luabind-deboostified copied to clipboard

test_implicit_cast.cpp test fails

Open Wohlstand opened this issue 7 years ago • 0 comments

This unit test fails on:

void not_convertable(std::shared_ptr<A>)
{
	TEST_CHECK(false); //<----  Here!
}

But:

	// This test fails because shared_ptr-converter is broken.
	DOSTRING_EXPECTED(L,
		"a = A()\n"
		"no_convert(a)",
		("No matching overload found, candidates:\n"
		"void no_convert(custom ["
		+ std::string(typeid(std::shared_ptr<A>).name()) + "])").c_str());

Any suggestion to fix this (aka, complete this unfinished unit test)? Or just skip this step until shared_ptr converter will be fixed

Wohlstand avatar Jul 07 '17 11:07 Wohlstand