Skip to content

Commit

Permalink
tests: updated unit test for config module
Browse files Browse the repository at this point in the history
FossilOrigin-Name: b1da9b24e05776c6ab197f2daab082f5d89dd2e2668151684ee354b94a2e4116
  • Loading branch information
thindil committed Mar 23, 2024
1 parent f5198b2 commit 9421b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/config.nim
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ suite "Unit tests for config module":

test "Test parsing configuration file":
var sections: int = 0
let (sources, rules, fixCommand, maxReports) = parseConfig(
let (sources, rules, fixCommand, maxReports, showSummary) = parseConfig(
configFile = "config/nimalyzer.cfg", sections = sections)
check:
sources.len > 0 and rules.len > 0 and fixCommand.len > 0 and sections ==
1 and maxReports == Natural.high
1 and maxReports == Natural.high and showSummary

0 comments on commit 9421b4b

Please sign in to comment.