@@ -67,7 +67,7 @@ void asCssStepStable() throws Exception {
6767 */
6868 @ Test
6969 void asGenericStep () throws Exception {
70- writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.2 .0</version></biome>" );
70+ writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.8 .0</version></biome>" );
7171 setFile ("biome_test.js" ).toResource ("biome/js/fileBefore.js" );
7272 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
7373 assertFile ("biome_test.js" ).sameAsResource ("biome/js/fileAfter.js" );
@@ -80,7 +80,7 @@ void asGenericStep() throws Exception {
8080 */
8181 @ Test
8282 void asJavaScriptStep () throws Exception {
83- writePomWithJavascriptSteps ("**/*.js" , "<biome><version>1.2 .0</version></biome>" );
83+ writePomWithJavascriptSteps ("**/*.js" , "<biome><version>1.8 .0</version></biome>" );
8484 setFile ("biome_test.js" ).toResource ("biome/js/fileBefore.js" );
8585 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
8686 assertFile ("biome_test.js" ).sameAsResource ("biome/js/fileAfter.js" );
@@ -93,7 +93,7 @@ void asJavaScriptStep() throws Exception {
9393 */
9494 @ Test
9595 void asJsonStep () throws Exception {
96- writePomWithJsonSteps ("**/*.json" , "<biome><version>1.2 .0</version></biome>" );
96+ writePomWithJsonSteps ("**/*.json" , "<biome><version>1.8 .0</version></biome>" );
9797 setFile ("biome_test.json" ).toResource ("biome/json/fileBefore.json" );
9898 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
9999 assertFile ("biome_test.json" ).sameAsResource ("biome/json/fileAfter.json" );
@@ -106,7 +106,7 @@ void asJsonStep() throws Exception {
106106 */
107107 @ Test
108108 void asTypeScriptStep () throws Exception {
109- writePomWithTypescriptSteps ("**/*.ts" , "<biome><version>1.2 .0</version></biome>" );
109+ writePomWithTypescriptSteps ("**/*.ts" , "<biome><version>1.8 .0</version></biome>" );
110110 setFile ("biome_test.ts" ).toResource ("biome/ts/fileBefore.ts" );
111111 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
112112 assertFile ("biome_test.ts" ).sameAsResource ("biome/ts/fileAfter.ts" );
@@ -119,7 +119,7 @@ void asTypeScriptStep() throws Exception {
119119 */
120120 @ Test
121121 void canSetLanguageForGenericStep () throws Exception {
122- writePomWithBiomeSteps ("**/*.nosj" , "<biome><version>1.2 .0</version><language>json</language></biome>" );
122+ writePomWithBiomeSteps ("**/*.nosj" , "<biome><version>1.8 .0</version><language>json</language></biome>" );
123123 setFile ("biome_test.nosj" ).toResource ("biome/json/fileBefore.json" );
124124 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
125125 assertFile ("biome_test.nosj" ).sameAsResource ("biome/json/fileAfter.json" );
@@ -134,7 +134,7 @@ void canSetLanguageForGenericStep() throws Exception {
134134 void configPathAbsolute () throws Exception {
135135 var path = newFile ("configs" ).getAbsolutePath ();
136136 writePomWithBiomeSteps ("**/*.js" ,
137- "<biome><version>1.2 .0</version><configPath>" + forXml (path ) + "</configPath></biome>" );
137+ "<biome><version>1.8 .0</version><configPath>" + forXml (path ) + "</configPath></biome>" );
138138 setFile ("biome_test.js" ).toResource ("biome/js/longLineBefore.js" );
139139 setFile ("configs/biome.json" ).toResource ("biome/config/line-width-120.json" );
140140 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
@@ -166,7 +166,7 @@ void configPathFile() throws Exception {
166166 */
167167 @ Test
168168 void configPathLineWidth120 () throws Exception {
169- writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.2 .0</version><configPath>configs</configPath></biome>" );
169+ writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.8 .0</version><configPath>configs</configPath></biome>" );
170170 setFile ("biome_test.js" ).toResource ("biome/js/longLineBefore.js" );
171171 setFile ("configs/biome.json" ).toResource ("biome/config/line-width-120.json" );
172172 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
@@ -181,7 +181,7 @@ void configPathLineWidth120() throws Exception {
181181 */
182182 @ Test
183183 void configPathLineWidth80 () throws Exception {
184- writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.2 .0</version><configPath>configs</configPath></biome>" );
184+ writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.8 .0</version><configPath>configs</configPath></biome>" );
185185 setFile ("biome_test.js" ).toResource ("biome/js/longLineBefore.js" );
186186 setFile ("configs/biome.json" ).toResource ("biome/config/line-width-80.json" );
187187 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
@@ -197,7 +197,7 @@ void configPathLineWidth80() throws Exception {
197197 void downloadDirAbsolute () throws Exception {
198198 var path = newFile ("target/bin/biome" ).getAbsoluteFile ().toString ();
199199 writePomWithBiomeSteps ("**/*.js" ,
200- "<biome><version>1.2 .0</version><downloadDir>" + forXml (path ) + "</downloadDir></biome>" );
200+ "<biome><version>1.8 .0</version><downloadDir>" + forXml (path ) + "</downloadDir></biome>" );
201201 setFile ("biome_test.js" ).toResource ("biome/js/fileBefore.js" );
202202 assertTrue (!newFile ("target/bin/biome" ).exists () || newFile ("target/bin/biome" ).list ().length == 0 );
203203 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
@@ -214,7 +214,7 @@ void downloadDirAbsolute() throws Exception {
214214 @ Test
215215 void downloadDirRelative () throws Exception {
216216 writePomWithBiomeSteps ("**/*.js" ,
217- "<biome><version>1.2 .0</version><downloadDir>target/bin/biome</downloadDir></biome>" );
217+ "<biome><version>1.8 .0</version><downloadDir>target/bin/biome</downloadDir></biome>" );
218218 setFile ("biome_test.js" ).toResource ("biome/js/fileBefore.js" );
219219 assertTrue (!newFile ("target/bin/biome" ).exists () || newFile ("target/bin/biome" ).list ().length == 0 );
220220 mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
@@ -229,7 +229,7 @@ void downloadDirRelative() throws Exception {
229229 */
230230 @ Test
231231 void failureWhenExeNotFound () throws Exception {
232- writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.2 .0</version><pathToExe>biome/is/missing</pathToExe></biome>" );
232+ writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.8 .0</version><pathToExe>biome/is/missing</pathToExe></biome>" );
233233 setFile ("biome_test.js" ).toResource ("biome/js/fileBefore.js" );
234234 var result = mavenRunner ().withArguments ("spotless:apply" ).runHasError ();
235235 assertFile ("biome_test.js" ).sameAsResource ("biome/js/fileBefore.js" );
@@ -243,7 +243,7 @@ void failureWhenExeNotFound() throws Exception {
243243 */
244244 @ Test
245245 void failureWhenNotParseable () throws Exception {
246- writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.2 .0</version><language>json</language></biome>" );
246+ writePomWithBiomeSteps ("**/*.js" , "<biome><version>1.8 .0</version><language>json</language></biome>" );
247247 setFile ("biome_test.js" ).toResource ("biome/js/fileBefore.js" );
248248 var result = mavenRunner ().withArguments ("spotless:apply" ).runHasError ();
249249 assertFile ("biome_test.js" ).sameAsResource ("biome/js/fileBefore.js" );
0 commit comments