mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 01:49:57 -05:00
more tests
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
//// {
|
||||
//// outerKey:
|
||||
//// {
|
||||
//// innerKey: 1
|
||||
//// innerKey: 1,
|
||||
//// innerKey2:
|
||||
//// 2
|
||||
//// }
|
||||
//// };
|
||||
////
|
||||
@@ -17,8 +19,10 @@ var clear =
|
||||
{
|
||||
outerKey:
|
||||
{
|
||||
innerKey: 1
|
||||
innerKey: 1,
|
||||
innerKey2:
|
||||
2
|
||||
}
|
||||
};
|
||||
`
|
||||
);
|
||||
);
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////
|
||||
//// let obj1 =
|
||||
//// { x: 10 };
|
||||
////
|
||||
//// let obj2 =
|
||||
//// // leading trivia
|
||||
//// { y: 10 };
|
||||
////
|
||||
|
||||
format.document();
|
||||
verify.currentFileContentIs(
|
||||
`
|
||||
let obj1 =
|
||||
{ x: 10 };
|
||||
|
||||
let obj2 =
|
||||
// leading trivia
|
||||
{ y: 10 };
|
||||
`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user