Skip to content

Commit e9a8f2b

Browse files
committed
Remove test testing for exception
1 parent 6742f3c commit e9a8f2b

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

RubberduckTests/QuickFixes/QuickFixBaseTests.cs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using System.Linq;
1+
using System.Linq;
32
using Microsoft.VisualStudio.TestTools.UnitTesting;
43
using Rubberduck.Inspections.Concrete;
54
using Rubberduck.Inspections.QuickFixes;
@@ -35,18 +34,5 @@ public void QuickFixBase_Unregister()
3534

3635
Assert.IsFalse(quickFix.SupportedInspections.Any());
3736
}
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-
}
5137
}
5238
}

0 commit comments

Comments
 (0)