Skip to content

Commit

Permalink
More minor cleanup: added missing gtest build dep for toolchain/lexer…
Browse files Browse the repository at this point in the history
…:test_helpers and switched to use system include for gmock header. (#993)
  • Loading branch information
pk19604014 authored Dec 16, 2021
1 parent 65d11b5 commit 2a45677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions toolchain/lexer/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ cc_library(
deps = [
"//common:check",
"//toolchain/diagnostics:diagnostic_emitter",
"@com_google_googletest//:gtest",
"@llvm-project//llvm:Support",
],
)
Expand Down
3 changes: 2 additions & 1 deletion toolchain/lexer/test_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
#ifndef TOOLCHAIN_LEXER_TEST_HELPERS_H_
#define TOOLCHAIN_LEXER_TEST_HELPERS_H_

#include <gmock/gmock.h>

#include <array>
#include <string>

#include "common/check.h"
#include "gmock/gmock.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/FormatVariadic.h"
#include "toolchain/diagnostics/diagnostic_emitter.h"
Expand Down

0 comments on commit 2a45677

Please sign in to comment.