Skip to content

Commit

Permalink
style: .이 하나만 존재할 때 줄바꿈 하지 않도록 컨벤션에 맞게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nak-honest committed Aug 17, 2024
1 parent 63516e5 commit f5a3d18
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ void findLikeByTravelogue() {
TravelogueLikeResponse response = travelogueLikeService.findLikeByTravelogue(travelogue);

// then
assertThat(response)
.isEqualTo(new TravelogueLikeResponse(false, 1L));
assertThat(response).isEqualTo(new TravelogueLikeResponse(false, 1L));
}

@DisplayName("여행기와 좋아요 한 사람을 기반으로 좋아요 정보를 조회할 수 있다.")
Expand All @@ -65,8 +64,7 @@ void findLikeByTravelogueAndLiker() {
TravelogueLikeResponse response = travelogueLikeService.findLikeByTravelogueAndLiker(travelogue, liker);

// then
assertThat(response)
.isEqualTo(new TravelogueLikeResponse(true, 1L));
assertThat(response).isEqualTo(new TravelogueLikeResponse(true, 1L));
}

@DisplayName("여행기에 좋아요를 할 수 있다.")
Expand All @@ -80,8 +78,7 @@ void likeTravelogue() {
TravelogueLikeResponse response = travelogueLikeService.likeTravelogue(travelogue, liker);

// then
assertThat(response)
.isEqualTo(new TravelogueLikeResponse(true, 1L));
assertThat(response).isEqualTo(new TravelogueLikeResponse(true, 1L));
}

@DisplayName("여행기에 좋아요를 취소 할 수 있다.")
Expand All @@ -95,7 +92,6 @@ void unlikeTravelogue() {
TravelogueLikeResponse response = travelogueLikeService.unlikeTravelogue(travelogue, liker);

// then
assertThat(response)
.isEqualTo(new TravelogueLikeResponse(false, 0L));
assertThat(response).isEqualTo(new TravelogueLikeResponse(false, 0L));
}
}

0 comments on commit f5a3d18

Please sign in to comment.