Skip to content

Commit

Permalink
Run indent.sh; seems to be different to
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf99 committed Jan 29, 2017
1 parent a5d8645 commit 1f32a18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/rna-transcription/test/test_rna_transcription.c
Expand Up @@ -6,11 +6,11 @@
void test_transcription(const char *dna, const char *expected)
{
char *rna = to_rna(dna);
if (rna != NULL) { /* Prevent segfault on strlen() and free(). */
if (rna != NULL) { /* Prevent segfault on strlen() and free(). */
TEST_ASSERT_TRUE(strncmp(rna, expected, (strlen(expected) + 1)) == 0);
free(rna);
} else {
TEST_FAIL(); /* to_rna() returned NULL when it was not epected. */
TEST_FAIL(); /* to_rna() returned NULL when it was not epected. */
}
}

Expand Down

0 comments on commit 1f32a18

Please sign in to comment.