mirror of
https://github.com/morluto/rea.git
synced 2026-11-20 13:45:30 +00:00
fix(maven): match declarations in the project namespace (#12672)
This commit is contained in:
1 parent
070d6420ec
commit
0ab693fe81
4 files changed
+27
-15
No files matched your search
@@ -623,11 +623,11 @@ it("refuses a document type declaration", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("refuses XML that is not a Maven project", () => {
|
||||
expectFailure(
|
||||
"<module><artifactId>demo</artifactId></module>",
|
||||
"unsupported",
|
||||
);
|
||||
it.each([
|
||||
"<module><artifactId>demo</artifactId></module>",
|
||||
'<project xmlns:ext="urn:example"><ext:artifactId>demo</ext:artifactId></project>',
|
||||
])("refuses XML that is not a Maven project: %s", (source) => {
|
||||
expectFailure(source, "unsupported");
|
||||
});
|
||||
|
||||
it("refuses a POM with two top-level dependencies blocks", () => {
|
||||
|
||||
Reference in new issue
Block a user