From 437f21549b02ea6ab9f8bfc0ad3b638403466a0d Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:24:32 -0500 Subject: Fix doxygen link to example function usage (#4133) --- test/links.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/links.c b/test/links.c index 299a7c2..87efae8 100644 --- a/test/links.c +++ b/test/links.c @@ -633,8 +633,6 @@ cklinks(hid_t fapl, bool new_format) if ((file = H5Fopen(filename, H5F_ACC_RDONLY, fapl)) < 0) FAIL_STACK_ERROR; - //! [H5Otoken_cmp_snip] - /* Hard link */ if (H5Oget_info_by_name3(file, "d1", &oinfo1, H5O_INFO_BASIC, H5P_DEFAULT) < 0) FAIL_STACK_ERROR; @@ -656,6 +654,9 @@ cklinks(hid_t fapl, bool new_format) puts(" expected file location."); TEST_ERROR; } /* end if */ + + //! [H5Otoken_cmp_snip] + if (H5Lexists(file, "/", H5P_DEFAULT) != true) FAIL_STACK_ERROR; if (H5Lexists(file, "d1", H5P_DEFAULT) != true) -- cgit v0.12