Fix warning in write_buffer_test.cc