Skip to content

Commit

Permalink
diktatFix
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Mar 12, 2024
1 parent 23d57c2 commit 54725ad
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,19 @@ class FixAndWarnPluginTest {
FixAndWarnPluginConfig(
FixPluginConfig(fixExecutionCmd),
WarnPluginConfig(warnExecutionCmd,
Regex("(.+):(\\d+):(\\d+): (.+)"),
true, true, 1, null,2, 3, 1, 1, 1, 2, 3, 4
actualWarningsPattern = Regex("(.+):(\\d+):(\\d+): (.+)"),
warningTextHasLine = true,
warningTextHasColumn = true,
fileNameCaptureGroup = 1,
lineCaptureGroup = null,
columnCaptureGroup = 2,
messageCaptureGroup = 3,
messageCaptureGroupMiddle = 1,
messageCaptureGroupEnd = 1,
fileNameCaptureGroupOut = 1,
lineCaptureGroupOut = 2,
columnCaptureGroupOut = 3,
messageCaptureGroupOut = 4,
)
),
GeneralConfig("", 1, ", ", listOf(""), "", "", expectedWarningsPattern = Regex("// ;warn:(\\d+):(\\d+): (.*)"), runConfigPattern = defaultExtraConfigPattern)
Expand Down

0 comments on commit 54725ad

Please sign in to comment.