File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 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+ ```
Original file line number Diff line number Diff line change 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+ } ) ;
You can’t perform that action at this time.
0 commit comments