mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
add tests for comments
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/// <reference path="fourslash.ts"/>
|
||||
|
||||
////_.chain()
|
||||
////// wow/*callChain1*/
|
||||
//// .then()
|
||||
////// waa/*callChain2*/
|
||||
//// .then();
|
||||
////wow(
|
||||
//// 3,
|
||||
////// uaa/*argument1*/
|
||||
//// 4
|
||||
////// wua/*argument2*/
|
||||
////);
|
||||
|
||||
format.document();
|
||||
|
||||
goTo.marker("callChain1");
|
||||
verify.currentLineContentIs(" // wow");
|
||||
goTo.marker("callChain2");
|
||||
verify.currentLineContentIs(" // waa");
|
||||
goTo.marker("argument1");
|
||||
verify.currentLineContentIs(" // uaa");
|
||||
goTo.marker("argument2");
|
||||
verify.currentLineContentIs(" // wua");
|
||||
Reference in New Issue
Block a user