Skip to content

Commit e540c60

Browse files
committed
add missing slnx xml root node test
1 parent cc08066 commit e540c60

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test/cli/project_test.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,14 @@ def test_sln_project_file_not_found(tmpdir):
139139
__test_project_error(tmpdir, "sln", content, expected)
140140

141141

142+
def test_snlx_no_xml_root(tmpdir):
143+
content = '<?xml version="1.0" encoding="utf-8"?>'
144+
145+
expected = "Visual Studio solution file has no XML root node"
146+
147+
__test_project_error(tmpdir, "slnx", content, expected)
148+
149+
142150
def test_vcxproj_no_xml_root(tmpdir):
143151
content = '<?xml version="1.0" encoding="utf-8"?>'
144152

0 commit comments

Comments
 (0)