diff options
| author | chenzizhan <[email protected]> | 2024-07-22 14:32:59 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-07-22 14:32:59 +0800 |
| commit | fa2097e720c56ac5073b4c32b1f069d3c293b304 (patch) | |
| tree | 09eb8a128ffb73375a373e5fb1b5ecc0854d49ee /test/test_fuzz_test.cpp | |
| parent | 8e84502b7b300373b918a4a60c599c64a3d975d4 (diff) | |
better error codes
Diffstat (limited to 'test/test_fuzz_test.cpp')
| -rw-r--r-- | test/test_fuzz_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_fuzz_test.cpp b/test/test_fuzz_test.cpp index 0fa8241..1a21bcd 100644 --- a/test/test_fuzz_test.cpp +++ b/test/test_fuzz_test.cpp @@ -532,7 +532,7 @@ TEST(Fuzz_test, add_and_reset_with_randomly_generated_flows_and_randomly_chosen_ tag_list_tmp.field = (struct field *)tag_list_wrapper[i]->get_tag(); tag_list_tmp.n_field = tag_list_wrapper[i]->get_tag_count(); int counter_exist = fieldstat_counter_get(instance, cube_id, &tag_list_tmp, using_id, &value); - ASSERT_EQ(counter_exist, FS_ERR_INVALID_TAG); // the field is not added to the cube + ASSERT_EQ(counter_exist, FS_ERR_INVALID_DIMENSION); // the field is not added to the cube fieldstat_tag_list_arr_free(tag_list, n_cell); } |
