diff options
Diffstat (limited to 'tests/format/junctions.py')
-rw-r--r-- | tests/format/junctions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/format/junctions.py b/tests/format/junctions.py index b810c55a3..a0af521a2 100644 --- a/tests/format/junctions.py +++ b/tests/format/junctions.py @@ -238,7 +238,7 @@ def test_invalid_with_deps(cli, datafiles): copy_subprojects(project, datafiles, ['base']) result = cli.run(project=project, args=['build', 'junction-with-deps.bst']) - result.assert_main_error(ErrorDomain.ELEMENT, 'element-forbidden-depends') + result.assert_main_error(ErrorDomain.LOAD, LoadErrorReason.INVALID_JUNCTION) # Test that we error correctly when a junction is directly depended on |