Skip to content

Commit

Permalink
redundant attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 23, 2024
1 parent 6dc749a commit bf5f401
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,7 @@ void convertsXmirsToPhiWithoutCriticalErrorsWithoutOptimizations(
final String xmir,
@Mktmp final Path temp
) throws IOException {
final FakeMaven maven = new FakeMaven(temp)
.with("phiFailOnError", false)
.with("phiOptimize", false);
final FakeMaven maven = new FakeMaven(temp);
new HmBase(temp).save(xmir, Paths.get("target/2-optimize/test.xmir"));
Assertions.assertDoesNotThrow(
() -> maven.execute(PhiMojo.class),
Expand Down Expand Up @@ -219,8 +217,6 @@ void checksPhiPacks(final String pack, @Mktmp final Path temp) throws Exception
new TextOf(
new FakeMaven(temp)
.withProgram(map.get("eo").toString())
.with("phiFailOnCritical", false)
.with("phiFailOnError", false)
.execute(new FakeMaven.Phi())
.result()
.get("target/phi/foo/x/main.phi")
Expand Down

0 comments on commit bf5f401

Please sign in to comment.