<NME> ElmInspectionSuppressorTest.kt
<BEF> ADDFILE
<MSG> Add ability to suppress inspection with comments (#466)


<DFF> @@ -0,0 +1,26 @@
+package org.elm.ide.inspections
+
+class ElmInspectionSuppressorTest : ElmInspectionsTestBase(ElmUnusedSymbolInspection()) {
+
+    fun testWithoutSuppression() = checkByText("""
+type T = T ()
+<warning>f</warning> = g
+
+g : T -> () -> ()
+g t <warning>x</warning> = 
+  case t of
+      T <warning>u</warning> -> ()
+    """)
+
+    fun testSuppression() = checkByText("""
+type T = T ()
+-- noinspection ElmUnusedSymbol
+f = g
+
+-- noinspection ElmUnusedSymbol
+g : T -> () -> ()
+g t x = 
+  case t of
+      T u -> ()
+    """)
+}

Add ability to suppress inspection with comments (#466)