Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Nov 16, 2023
1 parent 5534131 commit 2f2f083
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eo-runtime/src/test/java/org/eolang/UniverseDefaultTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ void copies() {
void putsToCopy() {
final Map<Integer, Phi> indexed = new HashMap<>();
final Universe universe = new UniverseDefault(Phi.Φ, indexed);
final int eoint = universe.find("Q.org.eolang.bytes");
final int copy = universe.copy(eoint);
final int eobytes = universe.find("Q.org.eolang.bytes");
final int copy = universe.copy(eobytes);
universe.put(copy, UniverseDefaultTest.DATA);
MatcherAssert.assertThat(
new Dataized(indexed.get(copy)).take(),
Expand All @@ -166,8 +166,8 @@ void bindsCopyToAbstract() {
final Phi dummy = new DummyAbstract(Phi.Φ);
final Map<Integer, Phi> indexed = new MapOf<>(dummy.hashCode(), dummy);
final Universe universe = new UniverseDefault(dummy, indexed);
final int eoint = universe.find("Q.org.eolang.bytes");
final int copy = universe.copy(eoint);
final int eobytes = universe.find("Q.org.eolang.bytes");
final int copy = universe.copy(eobytes);
universe.put(copy, UniverseDefaultTest.DATA);
universe.bind(
dummy.hashCode(), copy, UniverseDefaultTest.ATT
Expand Down

0 comments on commit 2f2f083

Please sign in to comment.