summaryrefslogtreecommitdiff
path: root/absl/algorithm
diff options
context:
space:
mode:
Diffstat (limited to 'absl/algorithm')
-rw-r--r--absl/algorithm/BUILD.bazel4
-rw-r--r--absl/algorithm/equal_benchmark.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/absl/algorithm/BUILD.bazel b/absl/algorithm/BUILD.bazel
index 5cd54960..3b24ce12 100644
--- a/absl/algorithm/BUILD.bazel
+++ b/absl/algorithm/BUILD.bazel
@@ -41,11 +41,11 @@ cc_test(
],
)
-cc_binary(
+cc_test(
name = "algorithm_benchmark",
- testonly = 1,
srcs = ["equal_benchmark.cc"],
copts = ABSL_TEST_COPTS,
+ tags = ["benchmark"],
deps = [
":algorithm",
"//absl/base:core_headers",
diff --git a/absl/algorithm/equal_benchmark.cc b/absl/algorithm/equal_benchmark.cc
index fea6d137..9af36ce7 100644
--- a/absl/algorithm/equal_benchmark.cc
+++ b/absl/algorithm/equal_benchmark.cc
@@ -15,8 +15,8 @@
#include <cstdint>
#include <cstring>
-#include "absl/algorithm/algorithm.h"
#include "benchmark/benchmark.h"
+#include "absl/algorithm/algorithm.h"
namespace {