Skip to content

Commit

Permalink
revert test to working state
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed May 12, 2024
1 parent 89dd550 commit f19fd0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,6 @@
<module>critter</module>
</modules>
</profile>

<profile>
<id>rewrite</id>
<modules>
<module>rewrite</module>
</modules>
</profile>
</profiles>

<modules>
Expand All @@ -341,5 +334,6 @@
<module>kotlin</module>
<module>validation</module>
<module>examples</module>
<module>rewrite</module>
</modules>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,8 @@
import org.openrewrite.java.JavaIsoVisitor;
import org.openrewrite.java.MethodMatcher;
import org.openrewrite.java.tree.Expression;
import org.openrewrite.java.tree.J.Assignment;
import org.openrewrite.java.tree.J.AssignmentOperation;
import org.openrewrite.java.tree.J.FieldAccess;
import org.openrewrite.java.tree.J.Identifier;
import org.openrewrite.java.tree.J.Identifier;
import org.openrewrite.java.tree.J.MethodInvocation;
import org.openrewrite.java.tree.J.VariableDeclarations;
import org.openrewrite.java.tree.J.VariableDeclarations.NamedVariable;
import org.openrewrite.java.tree.JavaType;
import org.openrewrite.java.tree.JavaType.Class;
import org.openrewrite.java.tree.JavaType;
import org.openrewrite.java.tree.JavaType.Class;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ public void update(Aggregation<?> aggregation) {
public class UnwrapTest {
public void update(Aggregation<?> aggregation) {
aggregation
.pipeline(
group(id("author")).field("count", sum(value(1))),
sort().ascending("_id")
).execute(Document.class);
.pipeline(group(id("author")).field("count", sum(value(1))))
.pipeline(sort().ascending("_id"))
.execute(Document.class);
}
}
"""));
Expand Down

0 comments on commit f19fd0d

Please sign in to comment.