summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorBo Wang <bowang@fb.com>2022-06-22 15:45:21 -0700
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2022-06-22 15:45:21 -0700
commitc073ed7601c86190809ed885399f119b36102569 (patch)
tree914ef82175a279cf961f8e203706c94145cdf17f /env
parente103b87296bc3c4c74fcf09d602d273ff588da10 (diff)
Fix typo in comments and code (#10233)
Summary: Fix typo in comments and code. Pull Request resolved: https://github.com/facebook/rocksdb/pull/10233 Test Plan: Existing unit tests should pass. Reviewed By: jay-zhuang, anand1976 Differential Revision: D37356702 Pulled By: gitbw95 fbshipit-source-id: 32c019adcc6dcc95a9882b38147a310091368e51
Diffstat (limited to 'env')
-rw-r--r--env/env_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/env/env_test.cc b/env/env_test.cc
index 3ae6c1e8d..16741cf9e 100644
--- a/env/env_test.cc
+++ b/env/env_test.cc
@@ -1980,7 +1980,7 @@ TEST_P(EnvPosixTestWithParam, PosixRandomRWFile) {
// Cannot open non-existing file.
ASSERT_NOK(env_->NewRandomRWFile(path, &file, EnvOptions()));
- // Create the file using WriteableFile
+ // Create the file using WritableFile
{
std::unique_ptr<WritableFile> wf;
ASSERT_OK(env_->NewWritableFile(path, &wf, EnvOptions()));
@@ -2109,7 +2109,7 @@ TEST_P(EnvPosixTestWithParam, PosixRandomRWFileRandomized) {
ASSERT_NOK(env_->NewRandomRWFile(path, &file, EnvOptions()));
#endif
- // Create the file using WriteableFile
+ // Create the file using WritableFile
{
std::unique_ptr<WritableFile> wf;
ASSERT_OK(env_->NewWritableFile(path, &wf, EnvOptions()));