Skip to content

Commit 7570b54

Browse files
lePicimichalvasko
authored andcommitted
yanglint TEST bugfix list.test
It seems that sometimes the regex somehow matched the expression even though the module names were in the wrong order.
1 parent 051561e commit 7570b54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/yanglint/interactive/list.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source [expr {[info exists ::env(TESTS_DIR)] ? "$env(TESTS_DIR)/interactive/ly.tcl" : "ly.tcl"}]
22
namespace import uti::regex_xml_elements uti::regex_json_pairs
33

4-
set modules {ietf-yang-library ietf-inet-types}
4+
set modules {ietf-inet-types ietf-yang-library}
55

66
test list_basic {basic test} {
77
-setup $ly_setup -cleanup $ly_cleanup -body {

tests/yanglint/non-interactive/list.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source [expr {[info exists ::env(TESTS_DIR)] ? "$env(TESTS_DIR)/non-interactive/ly.tcl" : "ly.tcl"}]
22
namespace import uti::regex_xml_elements uti::regex_json_pairs
33

4-
set modules {ietf-yang-library ietf-inet-types}
4+
set modules {ietf-inet-types ietf-yang-library}
55

66
test list_basic {} {
77
ly_cmd "-l" "ietf-yang-types"

0 commit comments

Comments
 (0)