feat : 채점시 대소문자 체크
This commit is contained in:
parent
405e45b9d1
commit
3e509fa9eb
@ -56,7 +56,7 @@ public class ReportServiceImpl implements ReportService {
|
|||||||
String inputAnswer = answerInputList.get(idx);
|
String inputAnswer = answerInputList.get(idx);
|
||||||
boolean isCorrect;
|
boolean isCorrect;
|
||||||
Answer answer;
|
Answer answer;
|
||||||
if (quiz.getAnswer().equals(inputAnswer)) {
|
if (quiz.getAnswer().equalsIgnoreCase(inputAnswer)) {
|
||||||
correctCount++;
|
correctCount++;
|
||||||
isCorrect = true;
|
isCorrect = true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user