From c086dd883e5c318dcdf8e654128abf671da90ec0 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 3 Nov 2011 19:28:43 -0700 Subject: uhd: allow device addr (from string) to parse empty values --- host/tests/addr_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/tests/addr_test.cpp') diff --git a/host/tests/addr_test.cpp b/host/tests/addr_test.cpp index 01a7ab607..cea2f224c 100644 --- a/host/tests/addr_test.cpp +++ b/host/tests/addr_test.cpp @@ -39,7 +39,8 @@ BOOST_AUTO_TEST_CASE(test_device_addr){ //load the device address with something uhd::device_addr_t dev_addr; dev_addr["key1"] = "val1"; - dev_addr["key2"] = "val2"; + dev_addr["key1"] = "val1"; + dev_addr["key3"] = ""; //convert to and from args string std::cout << "Pretty Print: " << std::endl << dev_addr.to_pp_string(); -- cgit v1.2.3