Files
newznab-tmux/tests/Unit
Kcchouette e5df723720 fix: correct reversed stripos/strpos arguments in ConsoleService
Fix 5 instances of stripos('literal', ) where arguments were
reversed, causing the needle to be searched inside a short literal
instead of the literal inside the variable:

- Line 599: stripos('dlc', ) → stripos(, 'dlc') — DLC
  branch was never entered for real game titles
- Line 601: stripos('Rock Band Network', ) → stripos(, ...)
  — Rock Band check was dead code inside the dead DLC branch
- Line 603: strpos('-', ) → str_contains(, '-') — DLC
  hyphen splitting never triggered
- Line 622: stripos('PSX2PSP', ) → stripos(, ...)
  — worked by accident (PSX is prefix of PSX2PSP)
- Line 626: stripos('XBLA', ) + stripos('dlc', ) →
  stripos(, ...) + stripos(, ...)

Also adds ConsoleServiceDlcParsingTest (9 tests) covering DLC title
parsing, Rock Band Network handling, hyphen splitting, and XBLA
platform upgrade.
2026-06-13 21:05:15 +02:00
..
2026-05-30 23:31:00 +02:00
2026-05-29 22:52:36 +02:00
2026-03-30 16:20:52 +02:00
2026-05-30 23:31:00 +02:00
2026-03-27 14:39:27 +01:00
2026-05-30 23:31:00 +02:00
2026-04-23 17:01:28 +02:00
2026-03-26 11:43:32 +01:00
2026-03-26 11:43:32 +01:00
2025-08-18 20:07:19 +02:00
2026-05-12 15:41:30 +02:00
2026-04-23 14:51:59 +02:00
2026-04-22 21:26:09 +02:00
2023-09-15 18:11:30 +00:00
2026-02-13 13:57:51 +01:00
2026-03-26 10:48:12 +01:00
2026-05-12 15:38:01 +02:00
2026-01-22 16:44:47 +01:00
2026-02-13 14:20:45 +01:00
2026-03-26 11:43:32 +01:00
2025-08-18 20:07:19 +02:00
2026-03-11 10:11:30 +01:00