Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawwave committed Mar 16, 2024
1 parent befe37f commit 948f652
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/fileWriteTest/fileWriteTest.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ void fastaVectorFileWriteTest(const size_t numSequences, const char *fileSrc) {
size_t headerLengthFromVector;
size_t sequenceLengthFromVector;
fastaVectorGetHeader(&fastaVector, sequenceNum, &headerFromVector,
&headerLengthFromVector);
&headerLengthFromVector);
fastaVectorGetSequence(&fastaVector, sequenceNum, &sequenceFromVector,
&sequenceLengthFromVector);
&sequenceLengthFromVector);
sprintf(buffer, "header was supposed to be length %zu, but got %zu.",
headerLength, headerLengthFromVector);
testAssertString((headerLength + 1) == headerLengthFromVector, buffer);
Expand Down Expand Up @@ -156,7 +156,7 @@ void fastaVectorFileWriteTest(const size_t numSequences, const char *fileSrc) {
size_t lastHeaderLen;
char *lastHeaderPtr;
fastaVectorGetHeader(&fastaVector, fastaVector.metadata.count - 1,
&lastHeaderPtr, &lastHeaderLen);
&lastHeaderPtr, &lastHeaderLen);
printf("headers did not match, \n h1: %.*s\n h2: %.*s\n hr: %.*s\n",
(int)fastaVector.header.count, fastaVector.header.charData,
(int)fastaReadVector.header.count, fastaReadVector.header.charData,
Expand Down

0 comments on commit 948f652

Please sign in to comment.