Fix copyright lines
[folly.git] / folly / test / CpuIdTest.cpp
index 64da3e1393cb696f4d6d1f20f7df57ced5ac2cc6..2471b6fdd7198a9da6dd9f3dcfa6e6293a24f017 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2012-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.
 
 #include <folly/CpuId.h>
 
-#include <gtest/gtest.h>
+#include <folly/portability/GTest.h>
 
 using namespace folly;
 
 TEST(CpuId, Simple) {
-  // All CPUs should support MMX
   CpuId id;
-  EXPECT_TRUE(id.mmx());
+  // All x64 CPUs should support MMX
+  EXPECT_EQ(kIsArchAmd64, id.mmx());
 }