Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,8 @@ void leavesFilesTheRepositoryAskedTheBotToIgnoreOutOfScope() {
// covers the whole PR rather than the first max-diff-lines, a repo-ignored file is no longer
// excluded by accident β€” so it has to be excluded on purpose.
when(repoSettingsResolver.resolve(any(), any(), any(), anyLong()))
.thenReturn(new RepoSettings(List.of("src/Other.java"), ".github/thrillhousebot.yml"));
.thenReturn(
new RepoSettings(List.of("src/Other.java"), List.of(), ".github/thrillhousebot.yml"));
budgetWithDiffRoom(4000);
prWithFiles(foo(), otherFile());
assistantReturns("{\"improvements\":[]}");
Expand Down Expand Up @@ -891,7 +892,8 @@ void neverCommitsASuggestionToAFileTheRepositoryAskedTheBotToIgnore() {
// to anchor onto one either: the line map is built from the same effective file list the
// batches are planned over, so #449's exclusion holds all the way to the committable comment.
when(repoSettingsResolver.resolve(any(), any(), any(), anyLong()))
.thenReturn(new RepoSettings(List.of("src/Other.java"), ".github/thrillhousebot.yml"));
.thenReturn(
new RepoSettings(List.of("src/Other.java"), List.of(), ".github/thrillhousebot.yml"));
prWithFiles(foo(), otherFile());
assistantReturns(
"""
Expand Down
Loading