Merge pull request #1485 from Microsoft/noDebuggerInTests

Remove calls to "debugger;" in our fourslash tests.
This commit is contained in:
CyrusNajmabadi 2014-12-14 23:05:25 -08:00
commit c3ad5b2b3a
10 changed files with 3 additions and 12 deletions

View file

@ -3,7 +3,6 @@
////module TestModule {
/////**/
////}
debugger;
goTo.marker("");
edit.paste(" class TestClass{\r\n\
private foo;\r\n\

View file

@ -126,7 +126,6 @@ verify.quickInfoIs('(local var) localVar: string', '');
goTo.marker('30');
verify.quickInfoIs('(parameter) b: string', '');
goTo.marker('31');
debugger;
verify.quickInfoIs('(local var) lambdaVar: (b: string) => string', '');
goTo.marker('32');
verify.quickInfoIs('(parameter) a: number', '');

View file

@ -10,7 +10,6 @@
//// M.y./*4*/dx;
goTo.marker('1');
debugger;
verify.referencesCountIs(1);
goTo.marker('2');
@ -20,4 +19,4 @@ goTo.marker('3');
verify.referencesCountIs(3);
goTo.marker('4');
verify.referencesCountIs(2);
verify.referencesCountIs(2);

View file

@ -6,7 +6,6 @@
////{ function h() {
////return 0;
////}}
debugger;
format.document();
verify.currentFileContentIs(
"function f()\n" +
@ -17,4 +16,3 @@ verify.currentFileContentIs(
" }\n" +
"}"
);

View file

@ -14,5 +14,4 @@
//// y : number;
//// }
debugger;
verify.baselineGetEmitOutput();

View file

@ -14,5 +14,4 @@
// @emitThisFile: true
//// var x:string = "hello";
debugger;
verify.baselineGetEmitOutput();

View file

@ -19,5 +19,4 @@
// @Filename: inputFile5.js
//// var x2 = 1000;
debugger;
verify.baselineGetEmitOutput();

View file

@ -12,7 +12,6 @@
goTo.marker("1");
verify.quickInfoIs('(function) foo(): void');
goTo.marker("2");
debugger;
verify.quickInfoIs('(local function) bar2(): void');
goTo.marker("3");
verify.quickInfoIs('(local function) bar3(): void');

View file

@ -8,7 +8,7 @@
////}
////function a() {
//// /* %^ */ }/*3*/
debugger;
format.document();
goTo.marker('1');
verify.currentLineContentIs('function test() /* %^ */ {');

View file

@ -5,7 +5,7 @@
////return[1];/*2*/
////return ;/*3*/
////}
debugger;
format.document();
goTo.marker("1");
verify.currentLineContentIs(" return 1;");