mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Document abbreviation style things (#4996)
We had a long discussion of this, so trying to document what seems to be the conclusion... and also clean up the exceptions that I could find. --------- Co-authored-by: Dana Jansens <danakj@orodu.net>
This commit is contained in:
co-authored by
Dana Jansens
parent
0d2f364f39
commit
467e510d40
@@ -85,7 +85,7 @@ TEST_F(TreeTest, AsAndTryAs) {
|
||||
EXPECT_TRUE(*any_decl_id == any_decl_id2);
|
||||
}
|
||||
|
||||
TEST_F(TreeTest, PrintPostorderAsYAML) {
|
||||
TEST_F(TreeTest, PrintPostorderAsYaml) {
|
||||
auto [tokens, tree_and_subtrees] =
|
||||
compile_helper_.GetTokenizedBufferWithTreeAndSubtrees("fn F();");
|
||||
EXPECT_FALSE(tree_and_subtrees.tree().has_errors());
|
||||
@@ -114,7 +114,7 @@ TEST_F(TreeTest, PrintPostorderAsYAML) {
|
||||
IsYaml(ElementsAre(root)));
|
||||
}
|
||||
|
||||
TEST_F(TreeTest, PrintPreorderAsYAML) {
|
||||
TEST_F(TreeTest, PrintPreorderAsYaml) {
|
||||
auto [tokens, tree_and_subtrees] =
|
||||
compile_helper_.GetTokenizedBufferWithTreeAndSubtrees("fn F();");
|
||||
EXPECT_FALSE(tree_and_subtrees.tree().has_errors());
|
||||
|
||||
Reference in New Issue
Block a user