Skip to content

Commit 26facb1

Browse files
committed
add test for module with no parameters
1 parent e1b7aa1 commit 26facb1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

input/input_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ scenarios:
3434
general:
3535
ncores: 1
3636
modules:
37-
order: [rigidbody]
37+
order: [topoaa, rigidbody]
38+
topoaa: {}
3839
rigidbody:
3940
param1: value1
4041
`)
@@ -239,12 +240,13 @@ scenarios:
239240
Topology: "_ligand.top",
240241
},
241242
Modules: ModuleParams{
242-
Order: []string{"rigidbody"},
243+
Order: []string{"topoaa", "rigidbody"},
244+
Topoaa: map[string]any{},
243245
Rigidbody: map[string]any{
244246
"param1": "value1",
245247
},
246248
},
247-
CnsParams: map[string]interface{}{
249+
CnsParams: map[string]any{
248250
"noecv": false,
249251
},
250252
},

0 commit comments

Comments
 (0)