File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -76,14 +76,26 @@ func Test_Extract(t *testing.T) {
7676 "numerical" : ap ().value ("5" ),
7777 },
7878 },
79+ {
80+ name : "chain-no-inputs" ,
81+ dir : "chain" ,
82+ input : preview.Input {
83+ ParameterValues : map [string ]string {},
84+ },
85+ expTags : map [string ]string {},
86+ unknownTags : []string {},
87+ params : map [string ]assertParam {
88+ "git_repo" : apWithDiags ().errorDiagnostics ("Required" ),
89+ },
90+ },
7991 {
8092 name : "chain-inputs" ,
8193 dir : "chain" ,
8294 input : preview.Input {
8395 ParameterValues : map [string ]string {
84- // "git_repo": "coder/coder",
85- // "ide_selector": `["goland"]`,
86- // "cpu_cores": "4",
96+ "git_repo" : "coder/coder" ,
97+ "ide_selector" : `["goland"]` ,
98+ "cpu_cores" : "4" ,
8799 },
88100 },
89101 expTags : map [string ]string {},
You can’t perform that action at this time.
0 commit comments