Skip to content

Commit

Permalink
remove a warning in UT
Browse files Browse the repository at this point in the history
  • Loading branch information
gejun committed Oct 24, 2017
1 parent 4a221bb commit 08f0463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/brpc_http_rpc_protocol_unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ TEST_F(HttpTest, chunked_uploading) {
const std::string exp_res = "{\"message\":\"world\"}";
butil::ScopedFILE fp(res_fname.c_str(), "r");
char buf[128];
fgets(buf, sizeof(buf), fp);
ASSERT_TRUE(fgets(buf, sizeof(buf), fp));
EXPECT_EQ(exp_res, std::string(buf));
}

Expand Down

0 comments on commit 08f0463

Please sign in to comment.