-
Notifications
You must be signed in to change notification settings - Fork 52
Fix typo from commited
to committed
#175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,12 @@ func TestInflight_StartCommit(t *testing.T) { | |
// Commit 3 times | ||
in.Commit(1) | ||
if in.Committed().Len() != 0 { | ||
t.Fatalf("should not be commited") | ||
t.Fatalf("should not be committed") | ||
} | ||
|
||
in.Commit(1) | ||
if in.Committed().Len() != 1 { | ||
t.Fatalf("should be commited") | ||
t.Fatalf("should be committed") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo corrected: ensure 'commited' is replaced with 'committed' in the error message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
} | ||
|
||
// Already committed but should work anyways | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ var ( | |
ErrUnknownPeer = errors.New("peer is unknown") | ||
|
||
// ErrNothingNewToSnapshot is returned when trying to create a snapshot | ||
// but there's nothing new commited to the FSM since we started. | ||
// but there's nothing new committed to the FSM since we started. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo fix confirmed: the correction from 'commited' to 'committed' is correct. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
ErrNothingNewToSnapshot = errors.New("Nothing new to snapshot") | ||
) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo corrected: ensure 'commited' is replaced with 'committed' in the error message.
Copilot uses AI. Check for mistakes.