Skip to content

Commit a6807ca

Browse files
committed
Add 9 snapshots for reddit.
1 parent 0eb0c0a commit a6807ca

10 files changed

+123544
-0
lines changed

tests/corpus/_corpus-index.ts

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,49 @@ export const CORPUS: Record<string, CorpusEntry> = {
8181
type: "html",
8282
url: "https://github.com/orgs/diffplug/projects/12",
8383
},
84+
reddit_subreddit_home: {
85+
description: "r/programming home page",
86+
type: "html",
87+
url: "https://www.reddit.com/r/programming/",
88+
},
89+
reddit_create_post_link_rich: {
90+
description: "r/programming create link post (rich text)",
91+
type: "html",
92+
url: "https://www.reddit.com/r/programming/submit/?type=LINK",
93+
},
94+
reddit_create_post_link_md: {
95+
description: "r/programming create link post (markdown)",
96+
type: "html",
97+
url: "https://www.reddit.com/r/programming/submit/?type=LINK",
98+
},
99+
reddit_create_post_text_md: {
100+
description: "r/nba create text post (markdown)",
101+
type: "html",
102+
url: "https://www.reddit.com/r/nba/submit/?type=TEXT",
103+
},
104+
reddit_thread: {
105+
description: "r/programming thread",
106+
type: "html",
107+
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
108+
},
109+
reddit_thread_root_comment_md: {
110+
description: "root comment (markdown)",
111+
type: "html",
112+
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
113+
},
114+
reddit_thread_root_comment_rich: {
115+
description: "root comment (rich text)",
116+
type: "html",
117+
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
118+
},
119+
reddit_thread_comment_reply_md: {
120+
description: "root comment (rich text)",
121+
type: "html",
122+
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
123+
},
124+
reddit_thread_comment_reply_multi_md: {
125+
description: "root comment (rich text)",
126+
type: "html",
127+
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
128+
},
84129
} as const

tests/corpus/reddit_create_post_link_md.html

Lines changed: 5604 additions & 0 deletions
Large diffs are not rendered by default.

tests/corpus/reddit_create_post_link_rich.html

Lines changed: 5059 additions & 0 deletions
Large diffs are not rendered by default.

tests/corpus/reddit_create_post_text_md.html

Lines changed: 5461 additions & 0 deletions
Large diffs are not rendered by default.

tests/corpus/reddit_subreddit_home.html

Lines changed: 10453 additions & 0 deletions
Large diffs are not rendered by default.

tests/corpus/reddit_thread.html

Lines changed: 18927 additions & 0 deletions
Large diffs are not rendered by default.

tests/corpus/reddit_thread_comment_reply_md.html

Lines changed: 20572 additions & 0 deletions
Large diffs are not rendered by default.

tests/corpus/reddit_thread_comment_reply_multi_md.html

Lines changed: 19588 additions & 0 deletions
Large diffs are not rendered by default.

tests/corpus/reddit_thread_root_comment_md.html

Lines changed: 18908 additions & 0 deletions
Large diffs are not rendered by default.

tests/corpus/reddit_thread_root_comment_rich.html

Lines changed: 18927 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)