[gjs] testCoverage: Remove duplicate tests



commit a7de3f80abc48ba436bddbfb12b1d3e2a0761b5d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 3 16:57:46 2014 -0500

    testCoverage: Remove duplicate tests
    
    I'd imagine this was a rebase error of some sort.

 installed-tests/js/testCoverage.js |   23 -----------------------
 1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/installed-tests/js/testCoverage.js b/installed-tests/js/testCoverage.js
index 2960fd2..81a5fb7 100644
--- a/installed-tests/js/testCoverage.js
+++ b/installed-tests/js/testCoverage.js
@@ -210,16 +210,6 @@ function testExpressionLinesFoundForObjectPropertyFunction() {
                       JSUnit.assertEquals);
 }
 
-function testExpressionLinesFoundForObjectPropertyFunction() {
-    let foundLinesInsideObjectPropertyFunction =
-        parseScriptForExpressionLines("var a = {\n" +
-                                      "    Name: function() {},\n" +
-                                      "};\n");
-    assertArrayEquals(foundLinesInsideObjectPropertyFunction,
-                      [1, 2],
-                      JSUnit.assertEquals);
-}
-
 function testExpressionLinesFoundForObjectPropertyObjectExpression() {
     let foundLinesInsideObjectPropertyObjectExpression =
         parseScriptForExpressionLines("var a = {\n" +
@@ -444,19 +434,6 @@ function testImplicitBranchFoundForDoWhileStatement() {
                                "let b = 2;");
     assertArrayEquals(foundBranchesForDoWhileStatement,
                       [
-                          { point: 1, exits: [2] }
-                      ],
-                      branchInfoEqual);
-}
-
-function testImplicitBranchFoundForDoWhileStatement() {
-    let foundBranchesForDoWhileStatement =
-        parseScriptForBranches("do {\n" +
-                               "    let a = 1;\n" +
-                               "} while (1)\n" +
-                               "let b = 2;");
-    assertArrayEquals(foundBranchesForDoWhileStatement,
-                      [
                           /* For do-while loops the branch-point is
                            * at the 'do' condition and not the
                            * 'while' */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]