summaryrefslogtreecommitdiffstats
path: root/test/device_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/device_test.cpp')
-rw-r--r--test/device_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/device_test.cpp b/test/device_test.cpp
index db305097b..db5810d3d 100644
--- a/test/device_test.cpp
+++ b/test/device_test.cpp
@@ -22,11 +22,11 @@ BOOST_AUTO_TEST_CASE(test_device){
std::cout << wax::cast<std::string>(mb0[MBOARD_PROP_NAME]) << std::endl;
BOOST_CHECK_EQUAL(
device_addr.virtual_args.num_dboards,
- wax::cast<size_t>(mb0[MBOARD_PROP_NUM_RX_DBOARDS])
+ wax::cast<prop_names_t>(mb0[MBOARD_PROP_RX_DBOARD_NAMES]).size()
);
BOOST_CHECK_EQUAL(
device_addr.virtual_args.num_dboards,
- wax::cast<size_t>(mb0[MBOARD_PROP_NUM_TX_DBOARDS])
+ wax::cast<prop_names_t>(mb0[MBOARD_PROP_TX_DBOARD_NAMES]).size()
);
}