Skip to content
Draft
Show file tree
Hide file tree
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
45 changes: 45 additions & 0 deletions tests/corpus/_corpus-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,49 @@ export const CORPUS: Record<string, CorpusEntry> = {
type: "html",
url: "https://github.com/orgs/diffplug/projects/12",
},
reddit_subreddit_home: {
description: "r/programming home page",
type: "html",
url: "https://www.reddit.com/r/programming/",
},
reddit_create_post_link_rich: {
description: "r/programming create link post (rich text)",
type: "html",
url: "https://www.reddit.com/r/programming/submit/?type=LINK",
},
reddit_create_post_link_md: {
description: "r/programming create link post (markdown)",
type: "html",
url: "https://www.reddit.com/r/programming/submit/?type=LINK",
},
reddit_create_post_text_md: {
description: "r/nba create text post (markdown)",
type: "html",
url: "https://www.reddit.com/r/nba/submit/?type=TEXT",
},
reddit_thread: {
description: "r/programming thread",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
reddit_thread_root_comment_md: {
description: "root comment (markdown)",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
reddit_thread_root_comment_rich: {
description: "root comment (rich text)",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
reddit_thread_comment_reply_md: {
description: "root comment (rich text)",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
reddit_thread_comment_reply_multi_md: {
description: "root comment (rich text)",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
} as const
5,604 changes: 5,604 additions & 0 deletions tests/corpus/reddit_create_post_link_md.html

Large diffs are not rendered by default.

5,059 changes: 5,059 additions & 0 deletions tests/corpus/reddit_create_post_link_rich.html

Large diffs are not rendered by default.

5,461 changes: 5,461 additions & 0 deletions tests/corpus/reddit_create_post_text_md.html

Large diffs are not rendered by default.

10,453 changes: 10,453 additions & 0 deletions tests/corpus/reddit_subreddit_home.html

Large diffs are not rendered by default.

18,927 changes: 18,927 additions & 0 deletions tests/corpus/reddit_thread.html

Large diffs are not rendered by default.

20,572 changes: 20,572 additions & 0 deletions tests/corpus/reddit_thread_comment_reply_md.html

Large diffs are not rendered by default.

19,588 changes: 19,588 additions & 0 deletions tests/corpus/reddit_thread_comment_reply_multi_md.html

Large diffs are not rendered by default.

18,908 changes: 18,908 additions & 0 deletions tests/corpus/reddit_thread_root_comment_md.html

Large diffs are not rendered by default.

18,927 changes: 18,927 additions & 0 deletions tests/corpus/reddit_thread_root_comment_rich.html

Large diffs are not rendered by default.