Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IWareQ committed Jun 23, 2024
1 parent 8c4094d commit f97d50c
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.*;

/**
* Allay Project 2023/12/29
Expand Down Expand Up @@ -166,7 +163,7 @@ void testPosNode() {
tree.getRoot()
.pos("pos")
.exec(context -> {
dest.set((Vector3f)context.getFirstResult());
dest.set((Vector3f) context.getResult(0));
return context.success();
});
tree.parse(mockSender, new String[]{"11", "45", "14"});
Expand Down

0 comments on commit f97d50c

Please sign in to comment.