Skip to content

Commit 1cd0f04

Browse files
Closure Teamcopybara-github
Closure Team
authored andcommitted
In ParserTest, rename "field" getter and setter property to "prop"
PiperOrigin-RevId: 722796172
1 parent 6629c67 commit 1cd0f04

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/com/google/javascript/jscomp/parsing/ParserTest.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -5563,16 +5563,16 @@ public void testClass2() {
55635563
lines(
55645564
"class C {", //
55655565
" member() {}",
5566-
" get field() {}",
5567-
" set field(a) {}",
5566+
" get prop() {}",
5567+
" set prop(a) {}",
55685568
"}"));
55695569

55705570
parse(
55715571
lines(
55725572
"class C {",
55735573
" static member() {}",
5574-
" static get field() {}",
5575-
" static set field(a) {}",
5574+
" static get prop() {}",
5575+
" static set prop(a) {}",
55765576
"}"));
55775577
}
55785578

@@ -5584,16 +5584,16 @@ public void testClass3() {
55845584
lines(
55855585
"class C {", //
55865586
" member() {};",
5587-
" get field() {};",
5588-
" set field(a) {};",
5587+
" get prop() {};",
5588+
" set prop(a) {};",
55895589
"}"));
55905590

55915591
parse(
55925592
lines(
55935593
"class C {",
55945594
" static member() {};",
5595-
" static get field() {};",
5596-
" static set field(a) {};",
5595+
" static get prop() {};",
5596+
" static set prop(a) {};",
55975597
"}"));
55985598
}
55995599

0 commit comments

Comments
 (0)