GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(shared): keep fence cases that catch a regression · pingdotgg/t3code@7ddb9eb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/shared/src
    • markdownLinks.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/shared/src/markdownLinks.test.ts‎

Copy file name to clipboardExpand all lines: packages/shared/src/markdownLinks.test.ts
-9Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -240,16 +240,11 @@ describe("extractInlineCodeSpans", () => {
240240
"Use `` ``` `` to open a fence, then edit `./a/shared.ts` and `./b/shared.ts`",
241241
["```", "./a/shared.ts", "./b/shared.ts"],
242242
],
243-
["~~~md\nSee `./a/shared.ts`\n~~~\nEdit `./b/shared.ts`", ["./b/shared.ts"]],
244243
["````md\n```ts\nSee `./a/shared.ts`\n```\n````\nEdit `./b/shared.ts`", ["./b/shared.ts"]],
245-
["```ts\nSee `./a/shared.ts`\n```\nEdit `./b/shared.ts`", ["./b/shared.ts"]],
246244
["> ```\n> See `./a/shared.ts`\n> ```\nEdit `./b/shared.ts`", ["./b/shared.ts"]],
247-
["- a\n ```\n code `./a/shared.ts`\n ```\nEdit `./b/shared.ts`", ["./b/shared.ts"]],
248-
["Edit `./a/shared.ts`\n```\nSee `./b/shared.ts`", ["./a/shared.ts"]],
249245
["```x``` then `./a/shared.ts`", ["x", "./a/shared.ts"]],
250246
["```\n`a.ts`\n``` not closed\n`b.ts`", []],
251247
["~~~~\n`./a/shared.ts`\n~~~\n`./b/shared.ts`\n~~~~\n`./c/shared.ts`", ["./c/shared.ts"]],
252-
["```ts\r\n`./a/shared.ts`\r\n``` \r\n`./b/shared.ts`", ["./b/shared.ts"]],
253248
[
254249
"```diff\n- ```\n```\nEdit `./a/shared.ts` and `./b/shared.ts`",
255250
["./a/shared.ts", "./b/shared.ts"],
@@ -262,10 +257,6 @@ describe("extractInlineCodeSpans", () => {
262257
"```yaml\ndesc: |\n ```\n```\nEdit `./a/shared.ts` and `./b/shared.ts`",
263258
["./a/shared.ts", "./b/shared.ts"],
264259
],
265-
[
266-
"```go\n\t```\n```\nEdit `./a/shared.ts` and `./b/shared.ts`",
267-
["./a/shared.ts", "./b/shared.ts"],
268-
],
269260
["- ```\n `./a/shared.ts`\n ```\nEdit `./b/shared.ts`", ["./b/shared.ts"]],
270261
])("skips fenced code blocks without breaking inline spans in %j", (markdown, spans) => {
271262
expect(extractInlineCodeSpans(markdown)).toEqual(spans);

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.