Skip to content

Commit

Permalink
Merge pull request #29 from AntonioMarceddu/issue-FAQ002
Browse files Browse the repository at this point in the history
fix(Part1): solved FAQ002
  • Loading branch information
RunCor399 authored Dec 13, 2023
2 parents dfc958d + f1f49c2 commit f5e2782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/BUG/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def substring_after(s: str, sub: str) -> str:
"""
BUG035: substring_after should return the substring after the first occurrence of sub, not before it.
"""
result = s.split(sub)[0]
result = s.split(sub)[1]
return result


Expand Down
2 changes: 1 addition & 1 deletion source/FAQ/Part1.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
What is a repository in Git?

### FAQ002
What Git command is used to clone an existing repository?
What Git command is used to clone an existing repository? clone

### FAQ003
What does the term "commit" mean in Git?
Expand Down

0 comments on commit f5e2782

Please sign in to comment.