diff --git a/test/framework/toy_build.py b/test/framework/toy_build.py index 2ea74d7c29..2aa4d9bcaf 100644 --- a/test/framework/toy_build.py +++ b/test/framework/toy_build.py @@ -1532,7 +1532,7 @@ def test_toy_module_fulltxt(self): ] + modloadmsg_lua + [ r'end', r'setenv\("TOY", "toy-0.0"\)', - r'io.stderr:write\("oh hai\!"\)$', + r'io.stderr:write\("oh hai\!"\)', r'-- Built with EasyBuild version .*', ]) elif get_module_syntax() == 'Tcl': @@ -1573,7 +1573,7 @@ def test_toy_module_fulltxt(self): ] + modloadmsg_tcl + [ r'}', r'setenv TOY "toy-0.0"', - r'puts stderr "oh hai\!"$', + r'puts stderr "oh hai\!"', r'# Built with EasyBuild version .*', ]) else: