diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-08-21 16:25:40 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-08-21 16:25:40 -0700 |
commit | 1cfd81a604699d6ab8095c90e7da5fc588bb3048 (patch) | |
tree | 7d9899debc22889ac45d6a43531fe38224cf512a /test/core/iomgr | |
parent | 97ceb5962cc5317b262aa60b8863c7df7799f640 (diff) |
Explain the newer semantics of grpc_error_add_child
Diffstat (limited to 'test/core/iomgr')
-rw-r--r-- | test/core/iomgr/error_test.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/core/iomgr/error_test.cc b/test/core/iomgr/error_test.cc index a1628a1f71..d78a8c2af3 100644 --- a/test/core/iomgr/error_test.cc +++ b/test/core/iomgr/error_test.cc @@ -187,16 +187,6 @@ static void test_os_error() { GRPC_ERROR_UNREF(error); } -static void test_special() { - grpc_error* error = GRPC_ERROR_NONE; - error = grpc_error_add_child( - error, GRPC_ERROR_CREATE_FROM_STATIC_STRING("test child")); - intptr_t i; - GPR_ASSERT(grpc_error_get_int(error, GRPC_ERROR_INT_GRPC_STATUS, &i)); - GPR_ASSERT(i == GRPC_STATUS_OK); - GRPC_ERROR_UNREF(error); -} - static void test_overflow() { grpc_error* error = GRPC_ERROR_CREATE_FROM_STATIC_STRING("Overflow"); @@ -235,7 +225,6 @@ int main(int argc, char** argv) { test_os_error(); test_create_referencing(); test_create_referencing_many(); - test_special(); test_overflow(); grpc_shutdown(); |