Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Sep 5, 2023
1 parent fce9702 commit 2785ffe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ class ScriptMetaTest extends Dsl2Spec {
def work2 = new WorkflowDef(name: 'work1')
meta2.addDefinition(proc2, func2, work2)

meta1.addModule(meta2, null, null)
meta1.addModule(meta2, 'func1', null)
meta1.addModule(meta2, 'proc1', null)
meta1.addModule(meta2, 'work1', null)

// attempt to define duplicate components in main script
def func1 = new FunctionDef(name: 'func1', alias: 'func1')
Expand Down

0 comments on commit 2785ffe

Please sign in to comment.