Skip to content

Commit

Permalink
feat(objectionary#441): fix the 'simple' integtaion test
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Aug 23, 2024
1 parent e9379ac commit b97fdd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/eolang/opeo/SelectiveDecompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import org.eolang.opeo.decompilation.agents.AllAgents;
import org.eolang.opeo.jeo.JeoDecompiler;
import org.eolang.opeo.storage.FileStorage;
import org.eolang.opeo.storage.LowerOpcodesStorage;
import org.eolang.opeo.storage.Storage;
import org.eolang.opeo.storage.WithoutAliasesStorage;
import org.eolang.opeo.storage.XmirEntry;
Expand Down Expand Up @@ -88,8 +89,8 @@ public SelectiveDecompiler(
final String... supported
) {
this(
new WithoutAliasesStorage(new FileStorage(input, output)),
new WithoutAliasesStorage(new FileStorage(modified, modified)),
new LowerOpcodesStorage(new WithoutAliasesStorage(new FileStorage(input, output))),
new LowerOpcodesStorage(new WithoutAliasesStorage(new FileStorage(modified, modified))),
supported
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import java.nio.file.Path;
import org.eolang.opeo.jeo.JeoDecompiler;
import org.eolang.opeo.storage.DecompilationStorage;
import org.eolang.opeo.storage.LowerOpcodesStorage;
import org.eolang.opeo.storage.Storage;
import org.eolang.opeo.storage.WithoutAliasesStorage;
import org.eolang.opeo.storage.XmirEntry;
Expand Down Expand Up @@ -73,7 +74,7 @@ public NaiveDecompiler(
* @param storage The storage where the XMIRs are stored.
*/
private NaiveDecompiler(final Storage storage) {
this.storage = new WithoutAliasesStorage(storage);
this.storage = new LowerOpcodesStorage(new WithoutAliasesStorage(storage));
}

@Override
Expand Down

0 comments on commit b97fdd2

Please sign in to comment.