summaryrefslogtreecommitdiffstats
path: root/adb/adb_io_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adb/adb_io_test.cpp')
-rw-r--r--adb/adb_io_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/adb_io_test.cpp b/adb/adb_io_test.cpp
index da340b2..dd09919 100644
--- a/adb/adb_io_test.cpp
+++ b/adb/adb_io_test.cpp
@@ -139,13 +139,13 @@ TEST(io, WriteFdExactly_ENOSPC) {
ASSERT_EQ(ENOSPC, errno);
}
-TEST(io, WriteStringFully) {
+TEST(io, WriteFdExactly_string) {
const char str[] = "Foobar";
TemporaryFile tf;
ASSERT_NE(-1, tf.fd);
// Test writing a partial string to the file.
- ASSERT_TRUE(WriteStringFully(tf.fd, str)) << strerror(errno);
+ ASSERT_TRUE(WriteFdExactly(tf.fd, str)) << strerror(errno);
ASSERT_EQ(0, lseek(tf.fd, SEEK_SET, 0));
std::string s;