Skip to content

Commit

Permalink
fixing tests and formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
massimeddu-sj committed Sep 6, 2024
1 parent de74f62 commit d56fd4c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void execute() throws MojoExecutionException {
Files.exists(getLockFilePath(project)) ? LockFile.readLockFile(getLockFilePath(project)) : null;
Config config = Boolean.parseBoolean(getConfigFromFile) ? getConfig(lockFileFromFile) : getConfig();
Environment environment = null;
if(config.isIncludeEnvironment()) {
if (config.isIncludeEnvironment()) {
environment = generateMetaInformation();
}
MetaData metaData = new MetaData(environment, config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ public class LockfileTest {

@Test
void shouldLockFilesEqualWhenOrderIsChanged() {
var metadata =
new MetaData(new Environment("os", "mv", "jv"), new Config(true, fals, true, false, "1", "maven_local", "sha1"));
var metadata = new MetaData(
new Environment("os", "mv", "jv"), new Config(true, false, true, false, "1", "maven_local", "sha1"));
var groupId = GroupId.of("g");
var artifactId = ArtifactId.of("a");
var version = VersionNumber.of("a");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
<executions>
<execution>
<goals>
<goal>validate</goal>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<includeEnvironment>false</includeEnvironment>
<includeEnvironment>true</includeEnvironment>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
<executions>
<execution>
<goals>
<goal>validate</goal>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<includeEnvironment>true</includeEnvironment>
<includeEnvironment>false</includeEnvironment>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit d56fd4c

Please sign in to comment.