diff options
Diffstat (limited to 'lib/util/test')
-rw-r--r-- | lib/util/test/str_table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/test/str_table.c b/lib/util/test/str_table.c index 75658ef..4a62b59 100644 --- a/lib/util/test/str_table.c +++ b/lib/util/test/str_table.c @@ -21,7 +21,8 @@ static int read_strings(void) char *line; int i; - fp = istream_open_file("words.txt"); + i = istream_open_file(&fp, "words.txt"); + TEST_EQUAL_I(i, 0); TEST_NOT_NULL(fp); for (i = 0; i < 1000; ++i) { |