mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 04:52:59 +01:00
Add fclose to fbuffer's tests
This commit is contained in:
parent
c868da2879
commit
9d8e6b92fc
@ -93,6 +93,7 @@ TEST(buffer, fbuffer)
|
|||||||
EXPECT_EQ('a', static_cast<char>(ch));
|
EXPECT_EQ('a', static_cast<char>(ch));
|
||||||
}
|
}
|
||||||
EXPECT_EQ(EOF, fgetc(file));
|
EXPECT_EQ(EOF, fgetc(file));
|
||||||
|
fclose(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -114,5 +115,6 @@ TEST(buffer, fbuffer_c)
|
|||||||
EXPECT_EQ('a', (char) ch);
|
EXPECT_EQ('a', (char) ch);
|
||||||
}
|
}
|
||||||
EXPECT_EQ(EOF, fgetc(file));
|
EXPECT_EQ(EOF, fgetc(file));
|
||||||
|
fclose(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user