Remove SingletonVault C bindings
[folly.git] / folly / test / FileUtilTest.cpp
index 9d5d87ba057fda123f1300a9bcd21092124eca0f..2100681eb739b51660010fdefd137a81d0dd1c7f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -128,7 +128,7 @@ ssize_t Reader::operator()(int fd, const iovec* iov, int count, off_t offset) {
   return operator()(fd, iov, count);
 }
 
-}  // namespace
+} // namespace
 
 class FileUtilTest : public ::testing::Test {
  protected:
@@ -494,7 +494,8 @@ TEST_F(WriteFileAtomic, multipleFiles) {
   EXPECT_EQ(0440, getPerms(tmpPath("foo_txt")));
   EXPECT_EQ(0444, getPerms(tmpPath("foo.txt2")));
 }
-}}  // namespaces
+} // namespace test
+} // namespace folly
 
 #if defined(__linux__)
 namespace {
@@ -520,7 +521,7 @@ class FChmodFailure {
 };
 
 std::atomic<int> FChmodFailure::forceFailure_{0};
-}
+} // namespace
 
 // Replace the system fchmod() function with our own stub, so we can
 // trigger failures in the writeFileAtomic() tests.
@@ -570,6 +571,6 @@ TEST_F(WriteFileAtomic, chmodFailure) {
   EXPECT_EQ(0600, getPerms(path));
   EXPECT_EQ(set<string>{"foo"}, listTmpDir());
 }
-}
-}
+} // namespace test
+} // namespace folly
 #endif