Skip to content

Commit

Permalink
Explicitly ignore some disabled tests.
Browse files Browse the repository at this point in the history
At least this way we can find them again in the future.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=237626819
  • Loading branch information
nreid260 authored and blickly committed Mar 11, 2019
1 parent fb91718 commit ad5270e
Showing 1 changed file with 7 additions and 2 deletions.
Expand Up @@ -17,6 +17,7 @@
package com.google.javascript.jscomp;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
Expand Down Expand Up @@ -517,7 +518,9 @@ public void testRemoveUselessTemplateStrings() {
}

// TODO (simranarora) Make the pass handle ES6 Modules correctly.
public void disabled_testRemoveFromImportStatement_ES6Modules() {
@Test
@Ignore
public void testRemoveFromImportStatement_ES6Modules() {
// Error: Invalid attempt to remove: STRING ./foo 1 [length: 7] [source_file: testcode] from
// IMPORT 1 [length: 24] [source_file: testcode]
testSame("import foo from './foo'; foo('hello');");
Expand Down Expand Up @@ -554,7 +557,9 @@ public void testLetConstBlocks_withES6Modules() {
// SCRIPT
// MODULE_BODY
// TODO(tbreisacher): Fix and enable.
public void disabled_testLetConstBlocks_withES6Modules2() {
@Test
@Ignore
public void testLetConstBlocks_withES6Modules2() {
test("export let x = 2;", "");
}

Expand Down

0 comments on commit ad5270e

Please sign in to comment.