File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
RubberduckTests/Inspections Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -10,28 +10,6 @@ namespace RubberduckTests.Inspections
10
10
[ TestFixture ]
11
11
public class ProcedureShouldBeFunctionInspectionTests
12
12
{
13
- [ Test ]
14
- [ Category ( "Inspections" ) ]
15
- public void ProcedureShouldBeFunction_NoArgCase_NoResults ( )
16
- {
17
- const string inputCode =
18
- @"
19
- Private foo As Long
20
- Private Sub Foo()
21
- foo = 42
22
- End Sub" ;
23
-
24
- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out _ ) ;
25
- using ( var state = MockParser . CreateAndParse ( vbe . Object ) )
26
- {
27
- var inspection = new ProcedureCanBeWrittenAsFunctionInspection ( state ) ;
28
- var inspector = InspectionsHelper . GetInspector ( inspection ) ;
29
- var inspectionResults = inspector . FindIssuesAsync ( state , CancellationToken . None ) . Result ;
30
-
31
- Assert . AreEqual ( 0 , inspectionResults . Count ( ) ) ;
32
- }
33
- }
34
-
35
13
[ Test ]
36
14
[ Category ( "Inspections" ) ]
37
15
public void ProcedureShouldBeFunction_ReturnsResult ( )
You can’t perform that action at this time.
0 commit comments