From e13dcef265dea3b222b85e09274333ba984ac1ca Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 28 Jan 2019 12:15:43 +0100 Subject: Replace NK_status with NK_get_status_as_string in unit tests --- unittest/test_multiple_devices.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittest/test_multiple_devices.cc') diff --git a/unittest/test_multiple_devices.cc b/unittest/test_multiple_devices.cc index 4b1e2c1..7e10a42 100644 --- a/unittest/test_multiple_devices.cc +++ b/unittest/test_multiple_devices.cc @@ -117,7 +117,7 @@ TEST_CASE("Use C API", "[BASIC]") { while (ptr) { std::cout << "Connect with: " << ptr->model << " " << ptr->path << " " << ptr->serial_number << " | " << NK_connect_with_path(ptr->path) << " | "; - auto status = NK_status(); + auto status = NK_get_status_as_string(); std::cout << status << std::endl; free(status); ptr = ptr->next; -- cgit v1.2.1