[gjs] Revert "coverage: Test for strings in case statements"
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Revert "coverage: Test for strings in case statements"
- Date: Fri, 18 Dec 2015 16:16:28 +0000 (UTC)
commit a25873f98256c63a2718d9fafcac564727cc1132
Author: Bastien Nocera <hadess hadess net>
Date: Fri Dec 18 17:15:00 2015 +0100
Revert "coverage: Test for strings in case statements"
This reverts commit 08721686fe772a21e26633b03783264147f2212c.
The exact same piece of code was already in commit 8bbdbae1.
installed-tests/js/testCoverage.js | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/installed-tests/js/testCoverage.js b/installed-tests/js/testCoverage.js
index 1ceeb5c..19afbe3 100644
--- a/installed-tests/js/testCoverage.js
+++ b/installed-tests/js/testCoverage.js
@@ -173,22 +173,6 @@ function testExpressionLinesFoundForCaseStatementsCharacters() {
JSUnit.assertEquals);
}
-function testExpressionLinesFoundForCaseStatementsCharacters() {
- let foundLinesInsideCaseStatements =
- parseScriptForExpressionLines("var a = 'a';\n" +
- "switch (a) {\n" +
- "case 'a':\n" +
- " a++;\n" +
- " break;\n" +
- "case 'b':\n" +
- " a++;\n" +
- " break;\n" +
- "}\n");
- assertArrayEquals(foundLinesInsideCaseStatements,
- [1, 2, 4, 5, 7, 8],
- JSUnit.assertEquals);
-}
-
function testExpressionLinesFoundForLoop() {
let foundLinesInsideLoop =
parseScriptForExpressionLines("for (let i = 0; i < 1; i++) {\n" +
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]