From 29c77ca431cbb57542a0c24d0e414e0fb3e133ad Mon Sep 17 00:00:00 2001 From: Tao He Date: Tue, 10 Jan 2023 14:34:27 +0800 Subject: [PATCH] Fixes test cases Signed-off-by: Tao He --- tst/EtcdTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/EtcdTest.cpp b/tst/EtcdTest.cpp index 7d5d1bc..d64c43f 100644 --- a/tst/EtcdTest.cpp +++ b/tst/EtcdTest.cpp @@ -342,7 +342,7 @@ TEST_CASE("list by range, w/o values") CHECK("get" == resp1.action()); REQUIRE(1 == resp1.keys().size()); REQUIRE(1 == resp1.values().size()); - REQUIRE(resp1.values()[0].as_string() == "value0"); + REQUIRE(resp1.values()[0].as_string() == "value1"); etcd::Response resp2 = etcd.keys("/test/new_dir/key1", "/test/new_dir/key2").get(); REQUIRE(resp1.is_ok());