Skip to content
Snippets Groups Projects
Commit 25bea27a authored by Anders Lindh Olsson's avatar Anders Lindh Olsson :8ball:
Browse files

Merge branch 'e3-1745' into 'master'

E3-1745: Add test for afterInit varargs

See merge request !205
parents 7e9565c5 cadf543b
No related branches found
No related tags found
1 merge request!205E3-1745: Add test for afterInit varargs
Pipeline #213434 passed
......@@ -77,3 +77,11 @@ def test_afterinit():
lines = outs.split("\n")
assert "hello" in lines[lines.index("iocInit") :]
def test_afterinit_does_not_take_varargs():
rc, outs, _ = run_ioc_get_output("-c", "afterInit should-run should-not-run")
assert rc == 0
lines = outs.split("\n")
assert "should-not-run" not in lines[lines.index("iocInit") :]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment