Skip to content

Commit

Permalink
Merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDi85 committed Nov 18, 2023
1 parent 515444a commit 4f081c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
import java.util.List;
import java.util.stream.Collectors;

/**
* @author JayDi85
*/
public class CardHintsTest extends CardTestCommanderDuelBase {

// html logs/names used all around xmage (game logs, chats, choose dialogs, etc)
Expand Down Expand Up @@ -114,7 +117,7 @@ public void test_ObjectNamesInHtml() {
setStopAt(1, PhaseStep.DECLARE_ATTACKERS);
execute();

// colleat all possible objects and test logs with it
// collect all possible objects and test logs with it
List<MageObject> sampleObjects = new ArrayList<>();
sampleObjects.addAll(currentGame.getBattlefield().getAllPermanents());
sampleObjects.addAll(playerA.getHand().getCards(currentGame));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public SourceMatchesFilterCondition(FilterPermanent filter) {
}

public SourceMatchesFilterCondition(String text, FilterPermanent filter) {
if (filter == null) {
throw new IllegalArgumentException("Wrong code usage: filter param can't be empty");
}
this.FILTER = filter;
this.text = text;
}
Expand Down

0 comments on commit 4f081c0

Please sign in to comment.