mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
RegExp: move tests to proper location
GitOrigin-RevId: e6398b07d4086b07743f153c058f78e793e3182b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9e06b725ed
commit
6a68669ac6
@@ -1,17 +1,15 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package org.intellij.lang.regexp;
|
||||
package org.intellij.lang.regexp.inspection;
|
||||
|
||||
import com.intellij.codeInspection.LocalInspectionTool;
|
||||
import org.intellij.lang.regexp.RegExpFileType;
|
||||
import org.intellij.lang.regexp.ecmascript.EcmaScriptRegexpLanguage;
|
||||
import org.intellij.lang.regexp.inspection.RedundantEscapeInspection;
|
||||
import org.intellij.lang.regexp.inspection.RegExpInspectionTestCase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Bas Leijdekkers
|
||||
*/
|
||||
@SuppressWarnings("RegExpRedundantEscape")
|
||||
@SuppressWarnings({"RegExpRedundantEscape", "RegExpDuplicateCharacterInClass"})
|
||||
public class RedundantEscapeInspectionTest extends RegExpInspectionTestCase {
|
||||
|
||||
public void testSimple() {
|
||||
@@ -1,16 +1,15 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package org.intellij.lang.regexp;
|
||||
package org.intellij.lang.regexp.inspection;
|
||||
|
||||
import com.intellij.codeInspection.LocalInspectionTool;
|
||||
import org.intellij.lang.regexp.RegExpFileType;
|
||||
import org.intellij.lang.regexp.ecmascript.EcmaScriptRegexpLanguage;
|
||||
import org.intellij.lang.regexp.inspection.RegExpInspectionTestCase;
|
||||
import org.intellij.lang.regexp.inspection.RepeatedSpaceInspection;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Bas Leijdekkers
|
||||
*/
|
||||
@SuppressWarnings({"RegExpRepeatedSpace", "RegExpRedundantEscape"})
|
||||
@SuppressWarnings({"RegExpRepeatedSpace", "RegExpRedundantEscape", "RegExpDuplicateCharacterInClass"})
|
||||
public class RepeatedSpaceInspectionTest extends RegExpInspectionTestCase {
|
||||
|
||||
public void testSimple() {
|
||||
Reference in New Issue
Block a user