Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Migrate enabledisable test to new testing system #1193

Merged
merged 1 commit into from
May 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 0 additions & 76 deletions test/ruleDisableEnableTests.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
/* tslint:enable */
var AAAaA = 'test'
~~~~~ [variable name must be in camelcase or uppercase]
~~~~~~ [' should be "]
/* tslint:disable */
var AAAaA = 'test'
/* tslint:disable */
var AAAaA = 'test'
/* tslint:enable:quotemark */
var AAAaA = 'test'
~~~~~~ [' should be "]
/* tslint:enable */
var AAAaA = 'test'
~~~~~ [variable name must be in camelcase or uppercase]
~~~~~~ [' should be "]
/* tslint:disable:quotemark variable-name */
var AAAaA = 'test'
/* tslint:disable:quotemark */
var AAAaA = 'test'
/* tslint:enable:quotemark */
var AAAaA = 'test'
~~~~~~ [' should be "]
/* tslint:disable */
var AAAaA = 'test'
/* tslint:enable:zasdadsa */
Expand All @@ -37,8 +43,10 @@ var AAAaA = 'test'

// tslint:disable
var AAAaA = 'test' // tslint:enable-line:quotemark
~~~~~~ [' should be "]
// tslint:enable-next-line:variable-name
var AAAaA = 'test'
~~~~~ [variable name must be in camelcase or uppercase]
// tslint:enable

/* tslint:disable:quotemark */
Expand Down
6 changes: 6 additions & 0 deletions test/rules/_integration/enable-disable/tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"rules": {
"quotemark": [true, "double"],
"variable-name": true
}
}
1 change: 0 additions & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@
"configurationTests.ts",
"eofLineRuleTests.ts",
"lint.ts",
"ruleDisableEnableTests.ts",
"ruleLoaderTests.ts",
"ruleTestRunner.ts",
"utils.ts",
Expand Down