Skip to content

Commit e576795

Browse files
authored
Fix error in verification process of T1L6/log-and-order (#169)
# Exercise Review ## Exercise Discussion Fixes #168 ## Checklist - [ ] If you require a new remote repository on the `Git-Mastery` organization, have you [created a request](https://github.com/git-mastery/exercises/issues/new?template=request_exercise_repository.md) for it? - [X] Have you written unit tests using [`repo-smith`](https://github.com/git-mastery/repo-smith) to validate the exercise grading scheme? - [X] Have you tested the download script using `test-download.sh`? - [X] Have you verified that this exercise does not already exist or is not currently in review? - [ ] Did you introduce a new grading mechanism that should belong to [`git-autograder`](https://github.com/git-mastery/git-autograder)? - [ ] Did you introduce a new dependency that should belong to [`app`](https://github.com/git-mastery/app)?
1 parent 2f71799 commit e576795

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

log_and_order/res/answers.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ A:
66

77
Q: What is the SHA of the commit with the commit message "Rewrite the comments"? You can use the full length SHA or the short SHA (i.e. first 7 characters of the SHA)
88
A:
9-

log_and_order/verify.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@
99
from git_autograder.answers.rules import HasExactValueRule, NotEmptyRule
1010
from git_autograder.answers.rules.answer_rule import AnswerRule
1111

12-
QUESTION_ONE = "What is the SHA of the commit HEAD points to?"
12+
QUESTION_ONE = "What is the SHA of the commit HEAD points to? You can use the full length SHA or the short SHA (i.e. first 7 characters of the SHA)"
1313
QUESTION_TWO = "What is the commit message of the commit {SHA}?"
1414
QUESTION_TWO_REGEX = re.compile(
1515
"^What is the commit message of the commit ([\\d\\w]+)\\?$"
1616
)
17-
QUESTION_THREE = (
18-
'What is the SHA of the commit with the commit message "Rewrite the comments"?'
19-
)
17+
QUESTION_THREE = 'What is the SHA of the commit with the commit message "Rewrite the comments"? You can use the full length SHA or the short SHA (i.e. first 7 characters of the SHA)'
2018

2119

2220
class OneOfValueRule(AnswerRule):

0 commit comments

Comments
 (0)