fix testdata

This commit is contained in:
Anna.Kozlova
2016-04-14 12:28:44 +02:00
parent f64bd14441
commit ffd4a1d0ab
@@ -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) {}" +