mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-11 06:02:53 -05:00
Update tests to use "removeComments" instead of "comments"
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
/*
|
||||
|
||||
multi line
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
class A {
|
||||
constructor() {
|
||||
// Single Line Comment
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
function foo1() {
|
||||
// Single line comment
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
() => {
|
||||
// Single line comment
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
var x = 10;
|
||||
|
||||
/*!
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
|
||||
class C {
|
||||
/*! remove pinned comment anywhere else */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
|
||||
class C {
|
||||
/*! remove pinned comment anywhere else */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
var x = 10;
|
||||
|
||||
/*! Single Line comment */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
|
||||
// @Filename: file0.ts
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
|
||||
// @Filename: file0.ts
|
||||
/// <reference path="file1.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
|
||||
// @Filename: file0.ts
|
||||
/// <reference path="file1.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: false
|
||||
// @removeComments: true
|
||||
/*!
|
||||
|
||||
multi line
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @comments: true
|
||||
// @removeComments: false
|
||||
|
||||
// @Filename: file0.ts
|
||||
var x = 10
|
||||
|
||||
Reference in New Issue
Block a user