mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 15:51:07 +01:00
Support parsing and testing unimplemented expressions (#957)
Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
co-authored by
Jon Meow
parent
be0c1e9da6
commit
dc5e62fc7a
@@ -22,6 +22,17 @@ cc_test(
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "parse_test_matchers",
|
||||
testonly = 1,
|
||||
srcs = ["parse_test_matchers_internal.h"],
|
||||
hdrs = ["parse_test_matchers.h"],
|
||||
deps = [
|
||||
":syntax",
|
||||
"@com_google_googletest//:gtest",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "syntax",
|
||||
srcs = [
|
||||
@@ -108,3 +119,14 @@ mypy_test(
|
||||
include_imports = True,
|
||||
deps = [":format_grammar_lib"],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "unimplemented_example_test",
|
||||
srcs = ["unimplemented_example_test.cpp"],
|
||||
deps = [
|
||||
":parse_test_matchers",
|
||||
":syntax",
|
||||
"//executable_semantics/ast:ast_test_matchers",
|
||||
"@com_google_googletest//:gtest_main",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user