Skip to content

Commit d5b7ddb

Browse files
committed
regression test
1 parent 0e627b9 commit d5b7ddb

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
format: html
3+
engine: jupyter
4+
keep-ipynb: true
5+
---
6+
7+
```{python}
8+
#| label: test
9+
#| tags: [parameters]
10+
datapath = None
11+
```
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* parameter-label-duplication.test.ts
3+
*
4+
* https://github.com/quarto-dev/quarto-cli/issues/10097
5+
*
6+
* Copyright (C) 2023 Posit Software, PBC
7+
*/
8+
9+
import { quarto } from "../../../src/quarto.ts";
10+
import { test } from "../../test.ts";
11+
import { assertEquals } from "testing/asserts";
12+
import { noErrors } from "../../verify.ts";
13+
14+
test({
15+
name: "jupyter:parameter:label-duplication",
16+
context: {},
17+
execute: async () => {
18+
// https://github.com/quarto-dev/quarto-cli/issues/10097
19+
await quarto(["render",
20+
"docs/jupyter/parameters/issue-10097.qmd",
21+
"--execute-param", 'datapath:"weird"',
22+
"--no-execute-daemon", "--execute"]);
23+
},
24+
verify: [noErrors],
25+
type: "smoke",
26+
});

0 commit comments

Comments
 (0)