Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions internal/wordfencetest/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var invalidWordFenceVersions = []string{ //nolint:gochecknoglobals
"1.1(Beta)",
"1.3 EN",
"1.4.9.8.9",
"1.6.2d",

Copilot AI May 23, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The invalidWordFenceVersions list is growing and currently unsorted; consider grouping entries by major version or sorting them alphabetically for easier future maintenance.

Copilot uses AI. Check for mistakes.
"1.6.49.6.2",
"1.6.49.6.3",
"1.6.5-6497609",
Expand All @@ -38,11 +39,14 @@ var invalidWordFenceVersions = []string{ //nolint:gochecknoglobals
"1.9.9.5.2",
"1.9.9.5.3",
"1.9.9.7.7",
"1.dec.2012",
"13-07-2019",
"17-07-2019",
"2.0.1.8.2",
"2.0.2.0.1",
"2.0.5.4.1",
"2.0e",
"2.24080000-WP6.6.1",
"2.35.1.2.3",
"2.35.1.3.0",
"2.5d",
Expand All @@ -55,6 +59,11 @@ var invalidWordFenceVersions = []string{ //nolint:gochecknoglobals
"2.9.9.5.0",
"2.9.9.5.1",
"2.9.9.5.2",
"2.9.9.5.3",
"2.9.9.5.4",
"2.9.9.9.9.9.5",
"2025r1",
"2025r2",
"3.0 (Beta r7)",
"3.1.0.1.1",
"3.1.1.4.2",
Expand All @@ -70,11 +79,16 @@ var invalidWordFenceVersions = []string{ //nolint:gochecknoglobals
"4.2.6.8.2",
"4.2.6.9.3",
"4.23.1.1.23.1",
"4.3-revision-3",
"44.0 (17-08-2023)",
"47.0(20-11-2023)",

Copilot AI May 23, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] This entry omits the space before the parenthesis, making its formatting inconsistent with similar lines (e.g., "44.0 (17-08-2023)"); normalizing spacing would improve readability.

Suggested change
"47.0(20-11-2023)",
"47.0 (20-11-2023)",

Copilot uses AI. Check for mistakes.
"5 alpha 2",
"5.0.28.decaf",
"5.8 beta 1",
"5.8 beta 2",
"6.2-revision-5",
"6.2-revision-9",
"6.3-revision-0",
"8..1",
"p1.2.5",
"v.1.1",
Expand Down
Loading