mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix testdata
This commit is contained in:
+1
-3
@@ -16,9 +16,7 @@
|
||||
package com.siyeh.ig.resources;
|
||||
|
||||
import com.intellij.codeInspection.LocalInspectionTool;
|
||||
import com.intellij.testFramework.LightProjectDescriptor;
|
||||
import com.siyeh.ig.LightInspectionTestCase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Bas Leijdekkers
|
||||
@@ -110,7 +108,7 @@ public class AutoCloseableResourceInspectionTest extends LightInspectionTestCase
|
||||
doTest("import java.util.*;" +
|
||||
"class X {" +
|
||||
" void m(List<String> list) {" +
|
||||
" final Z<String, Y> f = /*'X.Y' used without 'try'-with-resources statement*/Y::new/**/;" +
|
||||
" final Z<String, Y> f = /*'Y' used without 'try'-with-resources statement*/Y::new/**/;" +
|
||||
" }" +
|
||||
" class Y implements java.io.Closeable {" +
|
||||
" Y(String s) {}" +
|
||||
|
||||
Reference in New Issue
Block a user