summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-03-26 23:18:37 (GMT)
committerGitHub <noreply@github.com>2021-03-26 23:18:37 (GMT)
commitbddf4570347e695bae07a56a12e517af67baf0eb (patch)
tree4d4b5db05bca88459dc333cd3da57e0816419370 /test/tvlstr.c
parentc81afbff45edb56b16d17d37c444485b587d51fd (diff)
parent0a73f3dd4b33abbd3ea9b024442e40ae05e56549 (diff)
downloadhdf5-bddf4570347e695bae07a56a12e517af67baf0eb.zip
hdf5-bddf4570347e695bae07a56a12e517af67baf0eb.tar.gz
hdf5-bddf4570347e695bae07a56a12e517af67baf0eb.tar.bz2
Merge pull request #525 from derobins/vfd_swmr/thg_standards
Fixed 1.6 compatibility issues and ran source formatter
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index e4c33f6..091dd77 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -110,14 +110,19 @@ test_vlstr_free_custom(void *_mem, void *info)
static void
test_vlstrings_basic(void)
{
- const char *wdata[SPACE1_DIM1] = {
- "Four score and seven years ago our forefathers brought forth on this continent a new nation,",
- "conceived in liberty and dedicated to the proposition that all men are created equal.",
- "Now we are engaged in a great civil war,",
- "testing whether that nation or any nation so conceived and so dedicated can long endure."}; /* Information
- to
- write
- */
+ const char
+ *
+ wdata[SPACE1_DIM1] =
+ {
+ "Four score and seven years ago our forefathers brought forth on this continent a new "
+ "nation,",
+ "conceived in liberty and dedicated to the proposition that all men are created equal.",
+ "Now we are engaged in a great civil war,",
+ "testing whether that nation or any nation so conceived and so dedicated can long "
+ "endure."}; /* Information
+ to
+ write
+ */
char * rdata[SPACE1_DIM1]; /* Information read in */
char * wdata2;
hid_t dataspace, dataset2;