Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_implicit_cast.cpp test fails #33

Open
Wohlstand opened this issue Jul 7, 2017 · 0 comments
Open

test_implicit_cast.cpp test fails #33

Wohlstand opened this issue Jul 7, 2017 · 0 comments

Comments

@Wohlstand
Copy link

Wohlstand commented Jul 7, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant