Skip to content

Commit

Permalink
tests: use include instead of import for test assignments rule
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 5d59978dd3af154c363df640a317ea5c08977b00e026b4e1692b1373e7dc1cfc
  • Loading branch information
thindil committed Feb 18, 2024
1 parent cabe701 commit 9e6bd8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/assignments.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ../src/rules/assignments
include ../src/rules/assignments
import utils/helpers

const
Expand All @@ -9,4 +9,4 @@ i = i + 1"""
validNimCode = """var i = 1
i += 1"""

runRuleTest("assignments rule")
runRuleTest()

0 comments on commit 9e6bd8b

Please sign in to comment.