Commit 1cd0f04 1 parent 6629c67 commit 1cd0f04 Copy full SHA for 1cd0f04
File tree 1 file changed +8
-8
lines changed
test/com/google/javascript/jscomp/parsing
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5563,16 +5563,16 @@ public void testClass2() {
5563
5563
lines (
5564
5564
"class C {" , //
5565
5565
" member() {}" ,
5566
- " get field () {}" ,
5567
- " set field (a) {}" ,
5566
+ " get prop () {}" ,
5567
+ " set prop (a) {}" ,
5568
5568
"}" ));
5569
5569
5570
5570
parse (
5571
5571
lines (
5572
5572
"class C {" ,
5573
5573
" static member() {}" ,
5574
- " static get field () {}" ,
5575
- " static set field (a) {}" ,
5574
+ " static get prop () {}" ,
5575
+ " static set prop (a) {}" ,
5576
5576
"}" ));
5577
5577
}
5578
5578
@@ -5584,16 +5584,16 @@ public void testClass3() {
5584
5584
lines (
5585
5585
"class C {" , //
5586
5586
" member() {};" ,
5587
- " get field () {};" ,
5588
- " set field (a) {};" ,
5587
+ " get prop () {};" ,
5588
+ " set prop (a) {};" ,
5589
5589
"}" ));
5590
5590
5591
5591
parse (
5592
5592
lines (
5593
5593
"class C {" ,
5594
5594
" static member() {};" ,
5595
- " static get field () {};" ,
5596
- " static set field (a) {};" ,
5595
+ " static get prop () {};" ,
5596
+ " static set prop (a) {};" ,
5597
5597
"}" ));
5598
5598
}
5599
5599
You can’t perform that action at this time.
0 commit comments