@@ -42,7 +42,7 @@ Public Sub Foo(ByRef arg1 As String)
4242 parser . Parse ( ) ;
4343 if ( parser . State . Status >= ParserState . Error ) { Assert . Inconclusive ( "Parser Error" ) ; }
4444
45- var inspection = new EmptyStringLiteralInspection ( parser . State ) ;
45+ var inspection = new EmptyStringLiteralInspection ( null ) ;
4646 var inspector = new Inspector ( settings . Object , new IInspection [ ] { inspection } ) ;
4747
4848 var inspectionResults = inspector . FindIssuesAsync ( parser . State , CancellationToken . None ) . Result ;
@@ -73,7 +73,7 @@ public void EmptyStringLiteral_ReturnsResult_Assignment()
7373 parser . Parse ( ) ;
7474 if ( parser . State . Status >= ParserState . Error ) { Assert . Inconclusive ( "Parser Error" ) ; }
7575
76- var inspection = new EmptyStringLiteralInspection ( parser . State ) ;
76+ var inspection = new EmptyStringLiteralInspection ( null ) ;
7777 var inspector = new Inspector ( settings . Object , new IInspection [ ] { inspection } ) ;
7878
7979 var inspectionResults = inspector . FindIssuesAsync ( parser . State , CancellationToken . None ) . Result ;
@@ -104,7 +104,7 @@ public void NotEmptyStringLiteral_DoesNotReturnResult()
104104 parser . Parse ( ) ;
105105 if ( parser . State . Status >= ParserState . Error ) { Assert . Inconclusive ( "Parser Error" ) ; }
106106
107- var inspection = new EmptyStringLiteralInspection ( parser . State ) ;
107+ var inspection = new EmptyStringLiteralInspection ( null ) ;
108108 var inspector = new Inspector ( settings . Object , new IInspection [ ] { inspection } ) ;
109109
110110 var inspectionResults = inspector . FindIssuesAsync ( parser . State , CancellationToken . None ) . Result ;
@@ -142,7 +142,7 @@ public void EmptyStringLiteral_QuickFixWorks()
142142 parser . Parse ( ) ;
143143 if ( parser . State . Status >= ParserState . Error ) { Assert . Inconclusive ( "Parser Error" ) ; }
144144
145- var inspection = new EmptyStringLiteralInspection ( parser . State ) ;
145+ var inspection = new EmptyStringLiteralInspection ( null ) ;
146146 var inspector = new Inspector ( settings . Object , new IInspection [ ] { inspection } ) ;
147147
148148 var inspectionResults = inspector . FindIssuesAsync ( parser . State , CancellationToken . None ) . Result ;
0 commit comments