Skip to content

Commit

Permalink
delete extra comments in tests (microsoft#54452)
Browse files Browse the repository at this point in the history
  • Loading branch information
iisaduan committed May 30, 2023
1 parent 4bf0476 commit 0b170d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 46 deletions.
44 changes: 1 addition & 43 deletions tests/cases/fourslash/linkedEditingJsxTag10.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,46 +48,4 @@
// @Filename: /jsx15.tsx
////const jsx = </*15*/div> </*15a*/> <//*15b*/div> <//*15c*/>;

verify.baselineLinkedEditing();

// below is the expected result

// const wordPattern = "[a-zA-Z0-9:\\-\\._$]*";
// const linkedCursors9 = {
// ranges: [{ start: test.markerByName("9").position, length: 3 }, { start: test.markerByName("9a").position, length: 3 }],
// wordPattern,
// };
// verify.linkedEditing( {
// "0": undefined,
// "1": undefined,
// "2": undefined,
// "3": undefined,
// "4": undefined,
// "4a": undefined,
// "5": undefined,
// "5a": undefined,
// "6": undefined,
// "6a": undefined,
// "7": undefined,
// "7a": undefined,
// "8": undefined,
// "8a": undefined,
// "9": linkedCursors9,
// "9a": linkedCursors9,
// "10": undefined,
// "10a": undefined,
// "11": undefined,
// "11a": undefined,
// "12": undefined,
// "12a": undefined,
// "13": undefined,
// "13a": undefined,
// "14": undefined,
// "14a": undefined,
// "14b": undefined,
// "14c": undefined,
// "15": undefined,
// "15a": undefined,
// "15b": undefined,
// "15c": undefined,
// });
verify.baselineLinkedEditing();
4 changes: 1 addition & 3 deletions tests/cases/fourslash/linkedEditingJsxTag11.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/// <reference path='fourslash.ts' />

// for readability

// @Filename: /customElements.tsx
//// const jsx = <fbt:enum knownProp="accepted"
//// unknownProp="rejected">
Expand All @@ -16,4 +14,4 @@
//// </Button>
//// </Link>;

verify.baselineLinkedEditing();
verify.baselineLinkedEditing();

0 comments on commit 0b170d0

Please sign in to comment.