Skip to content

Commit 6433b71

Browse files
committed
fixes quickfix test that assumed a result out of an empty module
1 parent 20bfee9 commit 6433b71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RubberduckTests/QuickFixes/OptionExplicitQuickFixTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ public void NotAlreadySpecified_QuickFixWorks()
1717
const string expectedCode =
1818
@"Option Explicit
1919
20+
Public Sub Test() ' inspection won't yield any results if module is empty (#2621)
21+
End Sub
2022
";
2123

2224
var actualCode = ApplyQuickFixToFirstInspectionResult(inputCode, state => new OptionExplicitInspection(state));

0 commit comments

Comments
 (0)