From 4337a5d86a7563cbb4a87eeb756f29bcdf391911 Mon Sep 17 00:00:00 2001 From: Dean Moldovan Date: Wed, 1 Jun 2016 23:11:35 +0200 Subject: [PATCH] Fix typo which caused the C++ set test to be skipped It used to pass anyway because the expected output was identical to the Python set. --- example/example2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example2.cpp b/example/example2.cpp index 9b91baaad..4b15823f2 100644 --- a/example/example2.cpp +++ b/example/example2.cpp @@ -154,7 +154,7 @@ void init_ex2(py::module &m) { .def("get_list", &Example2::get_list, "Return a Python list") .def("get_list_2", &Example2::get_list_2, "Return a C++ list") .def("get_set", &Example2::get_set, "Return a Python set") - .def("get_set2", &Example2::get_set, "Return a C++ set") + .def("get_set2", &Example2::get_set_2, "Return a C++ set") .def("get_array", &Example2::get_array, "Return a C++ array") .def("print_dict", &Example2::print_dict, "Print entries of a Python dictionary") .def("print_dict_2", &Example2::print_dict_2, "Print entries of a C++ dictionary")