We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bfcb5b commit e70bcabCopy full SHA for e70bcab
plugin-maven/src/test/java/com/diffplug/spotless/maven/GitRatchetMavenTest.java
@@ -71,6 +71,16 @@ public void singleProjectExhaustive() throws Exception {
71
}
72
73
74
+ @Test
75
+ public void singleProjectExhaustiveGlobal() throws Exception {
76
+ try (Git git = initRepo()) {
77
+ writePom(RATCHET_FROM_POM
78
+ .replace("<ratchetFrom>baseline</ratchetFrom>", "")
79
+ .replace("<formats>", "<ratchetFrom>baseline</ratchetFrom>\n<formats>"));
80
+ checkBehavior(git);
81
+ }
82
83
+
84
private void checkBehavior(Git git) throws Exception {
85
setFile(TEST_PATH).toContent("HELLO");
86
git.add().addFilepattern(TEST_PATH).call();
0 commit comments