Add a test for catching path excapes 75/91775/7
authorillia.ihushev <illia.ihushev@pantheon.tech>
Thu, 30 Jul 2020 15:41:06 +0000 (18:41 +0300)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 16 Feb 2021 09:06:04 +0000 (10:06 +0100)
commit2c2761776c90d36b375b7fee4957bfa4f900ae85
tree843a55168377f8376316e13d9571494b6d4079da
parent5280e8d0efe5177e5bd9fa15bfd2bdc01e222d1b
Add a test for catching path excapes

Leafref resolution has been reworked in a previous patch, now add
a test case to ensure we are covered.

JIRA: YANGTOOLS-1127
Change-Id: I46e76966f553cb031119593d0e405a739bd27e4e
Signed-off-by: illia.ihushev <illia.ihushev@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaInferenceStack.java
yang/yang-model-util/src/test/java/org/opendaylight/yangtools/yang/model/util/YT1127Test.java [new file with mode: 0644]
yang/yang-model-util/src/test/resources/yt1127.yang [new file with mode: 0644]