| Index: mojo/services/files/public/c/tests/util_unittest.cc
|
| diff --git a/mojo/services/files/public/c/tests/util_unittest.cc b/mojo/services/files/public/c/tests/util_unittest.cc
|
| index 3196d2df1abbcec8516ed4948e8523ad1159e86b..07b43c611cbae71e54dba6f1dfd838087048a442 100644
|
| --- a/mojo/services/files/public/c/tests/util_unittest.cc
|
| +++ b/mojo/services/files/public/c/tests/util_unittest.cc
|
| @@ -18,15 +18,15 @@ TEST(UtilTest, ErrorToErrno) {
|
| mojo::files::Error from;
|
| int to;
|
| } kExpectedMappings[] = {
|
| - {mojo::files::ERROR_OK, 0},
|
| - {mojo::files::ERROR_UNKNOWN, EIO},
|
| - {mojo::files::ERROR_INVALID_ARGUMENT, EINVAL},
|
| - {mojo::files::ERROR_PERMISSION_DENIED, EACCES},
|
| - {mojo::files::ERROR_OUT_OF_RANGE, EINVAL},
|
| - {mojo::files::ERROR_UNIMPLEMENTED, ENOSYS},
|
| - {mojo::files::ERROR_CLOSED, EBADF},
|
| - {mojo::files::ERROR_UNAVAILABLE, EACCES},
|
| - {mojo::files::ERROR_INTERNAL, EIO},
|
| + {mojo::files::Error::OK, 0},
|
| + {mojo::files::Error::UNKNOWN, EIO},
|
| + {mojo::files::Error::INVALID_ARGUMENT, EINVAL},
|
| + {mojo::files::Error::PERMISSION_DENIED, EACCES},
|
| + {mojo::files::Error::OUT_OF_RANGE, EINVAL},
|
| + {mojo::files::Error::UNIMPLEMENTED, ENOSYS},
|
| + {mojo::files::Error::CLOSED, EBADF},
|
| + {mojo::files::Error::UNAVAILABLE, EACCES},
|
| + {mojo::files::Error::INTERNAL, EIO},
|
| };
|
|
|
| for (size_t i = 0; i < MOJO_ARRAYSIZE(kExpectedMappings); i++) {
|
|
|