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

Commit

Permalink
Migrate enabledisable test to new testing system (#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkillian committed May 2, 2016
1 parent a99fbf7 commit 3825c49
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 77 deletions.
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

0 comments on commit 3825c49

Please sign in to comment.