Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 88d3533

Browse files
authored
Merge branch 'master' into redo-multi-login-support-aleksi
2 parents d9d0928 + 6bdba86 commit 88d3533

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/fi/helsinki/cs/tmc/cli/command/DownloadExercisesCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ private void printStatistics(Course course, int requestCount, int downloadCount)
157157

158158
int failedCount = (requestCount - downloadCount);
159159
if (failedCount > 0) {
160-
io.println(" from which " + (requestCount - failedCount)
160+
io.println(" of which " + (requestCount - failedCount)
161161
+ " exercises were succesfully downloaded");
162162
io.println(Color.colorString(" and of which " + failedCount + " failed.",
163163
Color.AnsiColor.ANSI_RED));
164164
//TODO we could print the names of the not downloaded exercises here
165165
} else {
166-
io.println(" from which "
166+
io.println(" of which "
167167
+ downloadCount + " exercises were downloaded.");
168168
}
169169
io.println("Use -a/--all to download completed exercises as well.");

src/test/java/fi/helsinki/cs/tmc/cli/command/DownloadExercisesCommandTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public void failsToLoadExercises() throws ParseException {
204204
app.run(args);
205205

206206
io.assertContains("The 'course1' course has 3 exercises");
207-
io.assertContains("from which 2 exercises were succesfully downloaded");
207+
io.assertContains("of which 2 exercises were succesfully downloaded");
208208
io.assertContains("and of which 1 failed.");
209209
}
210210

0 commit comments

Comments
 (0)