TypeScript/tests/cases/fourslash/extract-export-assignment.ts
Andrew Branch 7a0f603b11
Fix extract symbol crash on unterminated literals; don’t offer to extract export = ... (#40272)
* Don’t offer to extract export assignment

* Terminate unterminated literals when extracting them

* Add test with regular expression ending in backslash

* Add test for string literal ending in backslash

* Remove unused parameter default
2020-08-31 14:17:09 -07:00

7 lines
138 B
TypeScript

/// <reference path="fourslash.ts" />
//// /*1*/export = 0;/*2*/
goTo.select("1", "2");
verify.not.refactorAvailable("Extract Symbol");