aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Chen <pierr.chen@gmail.com>2016-08-19 17:21:40 +1000
committerBin Chen <pierr.chen@gmail.com>2016-08-19 17:21:40 +1000
commitdf4d25c8e132bc0869dc92c8321f541c6694cd6c (patch)
treea642e92a4225319fb98eea07e9731fd7944626e5
parent677cf01e80bf3f2f75d669c84ace78acb59d9bfb (diff)
downloadweaved-df4d25c8e132bc0869dc92c8321f541c6694cd6c.tar.gz
weaved: remove redundant comma
Change-Id: I25ab1eb79d24d9a31ce511e55f115fa0ee6b4dba Signed-off-by: Bin Chen <pierr.chen@gmail.com>
-rw-r--r--buffet/buffet_config_unittest.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/buffet/buffet_config_unittest.cc b/buffet/buffet_config_unittest.cc
index 373a18c..069761e 100644
--- a/buffet/buffet_config_unittest.cc
+++ b/buffet/buffet_config_unittest.cc
@@ -87,19 +87,20 @@ class BuffetConfigTestWithFakes : public testing::Test,
config_.reset(new BuffetConfig{config_options});
config_->SetEncryptor(this);
config_->SetFileIO(this);
- };
+ }
// buffet::Encryptor methods.
bool EncryptWithAuthentication(const std::string& plaintext,
std::string* ciphertext) override {
*ciphertext = brillo::data_encoding::Base64Encode(plaintext);
return encryptor_result_;
- };
+ }
+
bool DecryptWithAuthentication(const std::string& ciphertext,
std::string* plaintext) override {
return encryptor_result_ &&
brillo::data_encoding::Base64Decode(ciphertext, plaintext);
- };
+ }
// buffet::BuffetConfig::FileIO methods.
bool ReadFile(const base::FilePath& path, std::string* content) override {
@@ -108,14 +109,15 @@ class BuffetConfigTestWithFakes : public testing::Test,
}
*content = fake_file_content_[path.value()];
return io_result_;
- };
+ }
+
bool WriteFile(const base::FilePath& path,
const std::string& content) override {
if (io_result_) {
fake_file_content_[path.value()] = content;
}
return io_result_;
- };
+ }
protected:
std::map<std::string, std::string> fake_file_content_;