Fix copyright lines
[folly.git] / folly / io / async / test / WriteChainAsyncTransportWrapperTest.cpp
index 0baac5186781611b2346ff3c67f17b0f9da5cc00..da6452ba810edfa349d5a540625112e8af3f713e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2015-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#include <gtest/gtest.h>
 
 #include <folly/io/async/AsyncTransport.h>
 #include <folly/io/async/WriteChainAsyncTransportWrapper.h>
 #include <folly/portability/GMock.h>
+#include <folly/portability/GTest.h>
 
 using namespace testing;
 using testing::_;
@@ -44,8 +44,7 @@ class TestWriteChainAsyncTransportWrapper :
   }
 
   // Allow this to be constructed on the stack for easier testing.
-  virtual ~TestWriteChainAsyncTransportWrapper() {
-  }
+  ~TestWriteChainAsyncTransportWrapper() override {}
 };
 
 MATCHER_P(BufMatches, expected, "") {
@@ -83,4 +82,5 @@ TEST(WriteChainAsyncTransportWrapperTest, TestSimpleBuf) {
   transport.write(nullptr, buf->data(), buf->length());
 }
 
-}}
+} // namespace test
+} // namespace folly