Skip to content

Commit

Permalink
fix test building
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonKercher committed Sep 13, 2021
1 parent d18f44a commit 97d0acf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/check_failure.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "check.h"
#include "check_common.h"
#include "fql.h"

/* t1.tsv
foo bar baz
Expand Down
5 changes: 3 additions & 2 deletions tests/check_stdin.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "check_common.h"
#include "fql.h"
#include <stdio.h>

/* t1.tsv
Expand All @@ -19,7 +18,9 @@ void stdin_setup()
{
fql_setup();
fql_set_allow_stdin(fql, true);
freopen("t1.tsv", "r", stdin);
if (freopen("t1.tsv", "r", stdin) == NULL) {
perror("t1.tsv");
}
}

START_TEST(test_stdin_t1)
Expand Down

0 comments on commit 97d0acf

Please sign in to comment.