Skip to content

Commit

Permalink
Fixed typo and improved logging of test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
swd1tn002 committed Mar 13, 2024
1 parent 357b621 commit df07579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ dependencies {
}

tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()

testLogging {
showExceptions true
showCauses true
events "PASSED", "FAILED"
showStandardStreams true
events "passed", "skipped", "failed"
exceptionFormat "full"
}
}
2 changes: 1 addition & 1 deletion src/main/java/part03/ObjectExercise.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class ObjectExercise {
*/
public String generateNamesString(List<Person> people) {

// NOTE! The People class needs fixing too. Make sure that the Person class is
// NOTE! The Person class needs fixing too. Make sure that the Person class is
// complete before implementing this method.

return "";
Expand Down

0 comments on commit df07579

Please sign in to comment.