TypeScript/tests/cases/fourslash/renameDefaultLibDontWork.ts
2017-08-14 17:58:05 -07:00

11 lines
341 B
TypeScript

/// <reference path='fourslash.ts' />
// Tests that tokens found on the default library are not renamed.
// "test" is a comment on the default library.
// @Filename: file1.ts
//// var [|test|] = "foo";
//// console.log([|test|]);
const ranges = test.ranges();
verify.renameLocations(ranges[0], { findInComments: true, ranges });