From 3667c6a43e1745c7a82e71cb3d6ffa027439f7ed Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Fri, 12 Sep 2014 17:25:00 -0700 Subject: [PATCH] remove debug statements from tests --- tests/cases/fourslash/memberListOfClass.ts | 1 - tests/cases/fourslash/memberListOfExportedClass.ts | 1 - tests/cases/fourslash/todoComments1.ts | 2 +- tests/cases/fourslash/todoComments10.ts | 2 +- tests/cases/fourslash/todoComments11.ts | 2 +- tests/cases/fourslash/todoComments12.ts | 2 +- tests/cases/fourslash/todoComments13.ts | 1 - tests/cases/fourslash/todoComments14.ts | 2 +- tests/cases/fourslash/todoComments15.ts | 2 +- tests/cases/fourslash/todoComments16.ts | 2 +- tests/cases/fourslash/todoComments17.ts | 2 +- tests/cases/fourslash/todoComments2.ts | 2 +- tests/cases/fourslash/todoComments3.ts | 2 +- tests/cases/fourslash/todoComments4.ts | 2 +- tests/cases/fourslash/todoComments5.ts | 2 +- tests/cases/fourslash/todoComments6.ts | 2 +- tests/cases/fourslash/todoComments7.ts | 2 +- tests/cases/fourslash/todoComments8.ts | 2 +- tests/cases/fourslash/todoComments9.ts | 2 +- 19 files changed, 16 insertions(+), 19 deletions(-) diff --git a/tests/cases/fourslash/memberListOfClass.ts b/tests/cases/fourslash/memberListOfClass.ts index 137903e5aac..567dfc0ddcd 100644 --- a/tests/cases/fourslash/memberListOfClass.ts +++ b/tests/cases/fourslash/memberListOfClass.ts @@ -10,7 +10,6 @@ ////f./**/ goTo.marker(); -debug.printCompletionListMembers(); verify.memberListCount(2); verify.memberListContains('pubMeth', '() => void'); verify.memberListContains('pubProp', 'number'); \ No newline at end of file diff --git a/tests/cases/fourslash/memberListOfExportedClass.ts b/tests/cases/fourslash/memberListOfExportedClass.ts index 853856747de..a564504e7ef 100644 --- a/tests/cases/fourslash/memberListOfExportedClass.ts +++ b/tests/cases/fourslash/memberListOfExportedClass.ts @@ -11,6 +11,5 @@ ////c./**/ // test on c. goTo.marker(); -debug.printCompletionListMembers(); verify.memberListCount(1); verify.memberListContains('pub', 'number'); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments1.ts b/tests/cases/fourslash/todoComments1.ts index 900b4694c6b..b1e0086b93f 100644 --- a/tests/cases/fourslash/todoComments1.ts +++ b/tests/cases/fourslash/todoComments1.ts @@ -1,3 +1,3 @@ //// // [|TODO|] -debugger; + verify.todoCommentsInCurrentFile(["TODO"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments10.ts b/tests/cases/fourslash/todoComments10.ts index 26ee7a40141..cde41dd6fb1 100644 --- a/tests/cases/fourslash/todoComments10.ts +++ b/tests/cases/fourslash/todoComments10.ts @@ -2,5 +2,5 @@ //// [|todo 1|] //// [|hack 2|] //// */ -debugger; + verify.todoCommentsInCurrentFile(["TODO", "HACK"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments11.ts b/tests/cases/fourslash/todoComments11.ts index 976368315d4..dd690911304 100644 --- a/tests/cases/fourslash/todoComments11.ts +++ b/tests/cases/fourslash/todoComments11.ts @@ -2,5 +2,5 @@ //// [|TODO(jason) 1|] //// [|HACK 2|] //// */ -debugger; + verify.todoCommentsInCurrentFile(["TODO(jason)", "HACK"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments12.ts b/tests/cases/fourslash/todoComments12.ts index d9cd3dea4db..7f9a0a0cd74 100644 --- a/tests/cases/fourslash/todoComments12.ts +++ b/tests/cases/fourslash/todoComments12.ts @@ -2,5 +2,5 @@ //// [|TODO(jason) 1|] //// [|HACK 2|] //// */ -debugger; + verify.todoCommentsInCurrentFile(["HACK", "TODO(jason)"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments13.ts b/tests/cases/fourslash/todoComments13.ts index 93147b30e47..82304e2ab8f 100644 --- a/tests/cases/fourslash/todoComments13.ts +++ b/tests/cases/fourslash/todoComments13.ts @@ -1,4 +1,3 @@ //// TODO -debugger; verify.todoCommentsInCurrentFile(["TODO"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments14.ts b/tests/cases/fourslash/todoComments14.ts index 46f8f48fe30..3a3294f4bb0 100644 --- a/tests/cases/fourslash/todoComments14.ts +++ b/tests/cases/fourslash/todoComments14.ts @@ -1,3 +1,3 @@ //// BAR // [|TODO|] -debugger; + verify.todoCommentsInCurrentFile(["TODO"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments15.ts b/tests/cases/fourslash/todoComments15.ts index 22cee54d0fc..6bb327ecdfb 100644 --- a/tests/cases/fourslash/todoComments15.ts +++ b/tests/cases/fourslash/todoComments15.ts @@ -1,3 +1,3 @@ //// "// HACK 1"; -debugger; + verify.todoCommentsInCurrentFile(["TODO(jason)", "HACK"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments16.ts b/tests/cases/fourslash/todoComments16.ts index bbdeac0c5e8..d980034090b 100644 --- a/tests/cases/fourslash/todoComments16.ts +++ b/tests/cases/fourslash/todoComments16.ts @@ -1,3 +1,3 @@ //// //// [|HACK 1|] -debugger; + verify.todoCommentsInCurrentFile(["TODO(jason)", "HACK"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments17.ts b/tests/cases/fourslash/todoComments17.ts index 52316941602..a751bb10dd5 100644 --- a/tests/cases/fourslash/todoComments17.ts +++ b/tests/cases/fourslash/todoComments17.ts @@ -1,3 +1,3 @@ //// /**** [|HACK 1 |]*/ a -debugger; + verify.todoCommentsInCurrentFile(["TODO(jason)", "HACK"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments2.ts b/tests/cases/fourslash/todoComments2.ts index b58b0fda7a7..ddf8520c486 100644 --- a/tests/cases/fourslash/todoComments2.ts +++ b/tests/cases/fourslash/todoComments2.ts @@ -1,3 +1,3 @@ //// // not TODO -debugger; + verify.todoCommentsInCurrentFile(["TODO"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments3.ts b/tests/cases/fourslash/todoComments3.ts index 62eb02642e9..f38b80ae8fb 100644 --- a/tests/cases/fourslash/todoComments3.ts +++ b/tests/cases/fourslash/todoComments3.ts @@ -1,3 +1,3 @@ //// // [|TODO with stuff|] -debugger; + verify.todoCommentsInCurrentFile(["TODO"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments4.ts b/tests/cases/fourslash/todoComments4.ts index c9ec94785f8..86d6ce24079 100644 --- a/tests/cases/fourslash/todoComments4.ts +++ b/tests/cases/fourslash/todoComments4.ts @@ -1,3 +1,3 @@ //// // TODOnomatch -debugger; + verify.todoCommentsInCurrentFile(["TODO"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments5.ts b/tests/cases/fourslash/todoComments5.ts index 157ac162a8c..05db2aca163 100644 --- a/tests/cases/fourslash/todoComments5.ts +++ b/tests/cases/fourslash/todoComments5.ts @@ -2,5 +2,5 @@ //// [|TODO 1|] //// [|TODO 2|] //// */ -debugger; + verify.todoCommentsInCurrentFile(["TODO"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments6.ts b/tests/cases/fourslash/todoComments6.ts index 0d2692511cb..84e05428119 100644 --- a/tests/cases/fourslash/todoComments6.ts +++ b/tests/cases/fourslash/todoComments6.ts @@ -2,5 +2,5 @@ //// * [|TODO 1|] //// * [|TODO 2|] //// */ -debugger; + verify.todoCommentsInCurrentFile(["TODO"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments7.ts b/tests/cases/fourslash/todoComments7.ts index ffb5bcf6603..10b18a53bc1 100644 --- a/tests/cases/fourslash/todoComments7.ts +++ b/tests/cases/fourslash/todoComments7.ts @@ -2,5 +2,5 @@ //// [|TODO 1|] //// [|HACK 2|] //// */ -debugger; + verify.todoCommentsInCurrentFile(["TODO", "HACK"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments8.ts b/tests/cases/fourslash/todoComments8.ts index 5d53b7b57c2..e63c07d6313 100644 --- a/tests/cases/fourslash/todoComments8.ts +++ b/tests/cases/fourslash/todoComments8.ts @@ -2,5 +2,5 @@ //// [|HACK 1|] //// [|TODO 2|] //// */ -debugger; + verify.todoCommentsInCurrentFile(["TODO", "HACK"]); \ No newline at end of file diff --git a/tests/cases/fourslash/todoComments9.ts b/tests/cases/fourslash/todoComments9.ts index 36cba71cecf..107f6c279a5 100644 --- a/tests/cases/fourslash/todoComments9.ts +++ b/tests/cases/fourslash/todoComments9.ts @@ -2,5 +2,5 @@ //// [|TODO HACK|] //// [|HACK TODO|] //// */ -debugger; + verify.todoCommentsInCurrentFile(["TODO", "HACK"]); \ No newline at end of file