File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
RubberduckTests/QuickFixes Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 1
- using System ;
2
- using System . Linq ;
1
+ using System . Linq ;
3
2
using Microsoft . VisualStudio . TestTools . UnitTesting ;
4
3
using Rubberduck . Inspections . Concrete ;
5
4
using Rubberduck . Inspections . QuickFixes ;
@@ -35,18 +34,5 @@ public void QuickFixBase_Unregister()
35
34
36
35
Assert . IsFalse ( quickFix . SupportedInspections . Any ( ) ) ;
37
36
}
38
-
39
-
40
- [ TestMethod ]
41
- [ TestCategory ( nameof ( QuickFixes ) ) ]
42
- [ ExpectedException ( typeof ( ArgumentException ) , "Parameters must implement IInspection" ) ]
43
- public void QuickFixBase_ThrowsWhenNonIInspectionIsRegistered ( )
44
- {
45
- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( string . Empty , out _ ) ;
46
- var state = MockParser . CreateAndParse ( vbe . Object ) ;
47
-
48
- var quickFix = new RemoveCommentQuickFix ( state ) ;
49
- quickFix . RegisterInspections ( typeof ( int ) ) ;
50
- }
51
37
}
52
38
}
You can’t perform that action at this time.
0 commit comments