Path:
tests/integration/features/source_code_traceability/_source_nodes/_validation/03_merge_by_uid_conflicting_mid/test.itest
Lines:
9
Non-empty lines:
8
Non-empty lines covered with requirements:
8 / 8 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# This test verifies that if SDoc node and source node have same UID and thus are
3
# subject to be merged, an error is thrown if both sides set also MID and the MIDs are not equal.
4
#
5
# @relation(SDOC-SRS-141, scope=file)
6
#
7
8
RUN: %expect_exit 1 %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
9
CHECK: error: Can't merge node by UID REQ-SOURCE-1: Conflicting MID: 3bd0162d-d6d2-42a1-9324-ab8415190970 != e7c09b63-2bed-4046-9511-a5b17978f152