Skip to content

Commit ce0b18b

Browse files
committed
Re-worked Test class to remove redundancy and scope of each test per TODO note from last merge.
1 parent 2196a09 commit ce0b18b

File tree

3 files changed

+283
-516
lines changed

3 files changed

+283
-516
lines changed

RetailCoder.VBE/Inspections/QuickFixes/AssignedByValParameterMakeLocalCopyQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private IEnumerable<string> GetIdentifierNamesAccessibleToProcedureContext()
130130
&& !(item.ParentScopeDeclaration is ClassModuleDeclaration)
131131
&& (item.Accessibility == Accessibility.Public
132132
|| ((item.Accessibility == Accessibility.Implicit)
133-
&& item.ParentScopeDeclaration is ProceduralModuleDeclaration)))
133+
&& (item.ParentScopeDeclaration is ProceduralModuleDeclaration))))
134134
.ToList();
135135

136136
var accessibleIdentifierNames = new List<string>();

RetailCoder.VBE/Inspections/QuickFixes/PassParameterByReferenceQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Rubberduck.Inspections.QuickFixes
1414
public class PassParameterByReferenceQuickFix : QuickFixBase
1515
{
1616
private readonly ICodeModule _codeModule;
17-
private VBAParser.ArgContext _argContext;
17+
private readonly VBAParser.ArgContext _argContext;
1818

1919
public PassParameterByReferenceQuickFix(Declaration target, QualifiedSelection selection)
2020
: base(target.Context, selection, InspectionsUI.PassParameterByReferenceQuickFix)

0 commit comments

Comments
 (0)