From ac2b9367fe3fdc0c526d458a24818f9c4fbe6141 Mon Sep 17 00:00:00 2001 From: sdong Date: Thu, 16 Jul 2015 12:17:16 -0700 Subject: [PATCH] Fix a typo in variable Summary: Typo seqeuntial -> sequential in db/fault_injection_test.cc Test Plan: Build it Reviewers: ott, igor, anthony, kradhakrishnan, IslamAbdelRahman Reviewed By: IslamAbdelRahman Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D42417 --- db/fault_injection_test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/db/fault_injection_test.cc b/db/fault_injection_test.cc index efb2ac353..845dff8b9 100644 --- a/db/fault_injection_test.cc +++ b/db/fault_injection_test.cc @@ -583,13 +583,13 @@ class FaultInjectionTest : public testing::Test { } Status Verify(int start_idx, int num_vals, ExpectedVerifResult expected, - bool seqeuntial = true) const { + bool sequential = true) const { std::string val; std::string value_space; Status s; for (int i = start_idx; i < start_idx + num_vals && s.ok(); i++) { Value(i, &value_space); - s = ReadValue(i, &val, seqeuntial); + s = ReadValue(i, &val, sequential); if (s.ok()) { EXPECT_EQ(value_space, val); } @@ -609,9 +609,9 @@ class FaultInjectionTest : public testing::Test { } // Return the ith key - Slice Key(bool seqeuntial, int i, std::string* storage) const { + Slice Key(bool sequential, int i, std::string* storage) const { int num = i; - if (!seqeuntial) { + if (!sequential) { // random transfer const int m = 0x5bd1e995; num *= m;