Skip to content

Commit

Permalink
configure impsort for tests (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
apmoriarty committed Jun 27, 2023
1 parent a8d4311 commit f1b9026
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
cache: 'maven'
- name: Format code
run: |
mvn -V -B -e -ntp "-Dstyle.color=always" clean formatter:format sortpom:sort -Pautoformat
mvn -V -B -e -ntp "-Dstyle.color=always" clean formatter:format sortpom:sort impsort:sort -Pautoformat
git status
git diff-index --quiet HEAD || (echo "Error! There are modified files after formatting." && false)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package datawave.query.data.parsers;

import datawave.query.data.parsers.KeyParserFactory.PARSER_TYPE;
import static org.junit.Assert.assertTrue;

import org.junit.Test;

import static org.junit.Assert.assertTrue;
import datawave.query.data.parsers.KeyParserFactory.PARSER_TYPE;

public class KeyParserFactoryTest {

Expand Down

0 comments on commit f1b9026

Please sign in to comment.