Skip to content

Commit

Permalink
Qodana scan: Convert local variable or field into constant (private a…
Browse files Browse the repository at this point in the history
…ccessibility)
  • Loading branch information
IT-VBFK authored and dennisdoomen committed Aug 23, 2023
1 parent 9725e02 commit 0b2cc71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/VB.Specs/VBSpecs.vb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Namespace VB.Specs
<Fact>
Public Sub Caller_identification_works_with_parentheses()
' Arrange
Dim subject = False
Const subject = False

' Act
Dim act As Action = Sub() subject.Should().BeTrue()
Expand All @@ -19,7 +19,7 @@ Namespace VB.Specs
<Fact>
Public Sub Caller_identification_works_without_parentheses()
' Arrange
Dim subject = False
Const subject = False

' Act
Dim act As Action = Sub() subject.Should.BeTrue()
Expand Down

0 comments on commit 0b2cc71

Please sign in to comment.