diff --git a/tests/typescript/conformance/types/parameterProperty/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/parameterProperty/__snapshots__/jsfmt.spec.js.snap index 46af62801656..1fc8509a406f 100644 --- a/tests/typescript/conformance/types/parameterProperty/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/parameterProperty/__snapshots__/jsfmt.spec.js.snap @@ -10,6 +10,8 @@ class c3 { constructor(public arg: number = 10) { // fails because of comment } + not_constructor(public arg: number = 10) { + } } =====================================output===================================== @@ -17,6 +19,7 @@ class c3 { constructor(public arg: number = 10) { // fails because of comment } + not_constructor(public arg: number = 10) {} } ================================================================================ diff --git a/tests/typescript/conformance/types/parameterProperty/parameterProperty.ts b/tests/typescript/conformance/types/parameterProperty/parameterProperty.ts index 7928eb4ca428..56527665c176 100644 --- a/tests/typescript/conformance/types/parameterProperty/parameterProperty.ts +++ b/tests/typescript/conformance/types/parameterProperty/parameterProperty.ts @@ -2,4 +2,6 @@ class c3 { constructor(public arg: number = 10) { // fails because of comment } + not_constructor(public arg: number = 10) { + } }