Skip to content

Patch 2026.03.1#26027

Open
freearhey wants to merge 7 commits intomasterfrom
patch-2026.03.1
Open

Patch 2026.03.1#26027
freearhey wants to merge 7 commits intomasterfrom
patch-2026.03.1

Conversation

@freearhey
Copy link
Contributor

Added a check to ensure that the channel and feed names does not contain multiple consecutive spaces.

Related: iptv-org/iptv#31690 (comment)

Test results:

npm test             

> test
> npx vitest run


 RUN  v4.0.9 /Users/Arhey/Code/iptv-org/database

 ✓ tests/commands/db/export.test.ts (1 test) 1828ms
     ✓ can export data as json  1826ms
 ✓ tests/commands/db/update.test.ts (1 test) 2141ms
     ✓ can update db with data from issues  2139ms
 ✓ tests/commands/db/validate.test.ts (5 tests) 8517ms
     ✓ shows an error if the number of columns in a row is incorrect  1925ms
     ✓ shows an error if one of the lines ends with an invalid character  1632ms
     ✓ shows an error if there are duplicates in the file  1684ms
     ✓ shows an error if the data contains an error  1640ms
     ✓ does not show an error if all data are correct  1633ms

 Test Files  3 passed (3)
      Tests  7 passed (7)
   Duration  8.95s (transform 531ms, setup 0ms, collect 771ms, tests 12.49s, environment 1ms, prepare 28ms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant