Skip to content
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

Fixed grammar typos re issue #8221 #8246

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

Dylan-Varga
Copy link
Contributor

Solved ./go typos as requested in #8221. This was my first-ever big project contribution, even if it's simple, so hope I followed procedure appropriately :)

Copy link
Contributor

@macneale4 macneale4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

Not sure what tool you used for this, but "unexpectededed" is definitely not a word, and "uncommitted" is :)

@@ -635,7 +635,7 @@ func (uv uniqValidator) validateDiff(ctx *sql.Context, diff tree.ThreeWayDiff) (

// deleteArtifact deletes the unique constraint violation artifact for the row identified by |key| and returns a
// boolean that indicates if an artifact was deleted, as well as an error that indicates if there were any
// unexpected errors encountered.
// unexpectededed errors encountered.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'unexpectededed' is not a word, and it shows up lots of times in the PR. please fix.

@@ -140,7 +140,7 @@ func TestServerBadArgs(t *testing.T) {

tests := [][]string{
{"-H", "127.0.0.0.1"},
{"-H", "loclahost"},
{"-H", "localahost"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an integration test using imported data. please remove all changes to this file.

@@ -164,30 +164,30 @@ func TestGet(t *testing.T) {
key5 := newTuple(t, types.Int(5))
key6 := newTuple(t, types.Int(6))

// test uncommitted
// test uncomitted
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is going from the correct spelling to an incorrect spelling. Please revert this file.

ErrAlreadyCommitted = errors.New("dataset head already pointing at given commit")
ErrDirtyWorkspace = errors.New("target has uncommitted changes. --force required to overwrite")
ErrAlreadyComitted = errors.New("dataset head already pointing at given commit")
ErrDirtyWorkspace = errors.New("target has uncomitted changes. --force required to overwrite")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect. revert.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert changes to this file, which is imported text that tests depend on

@@ -62,22 +62,22 @@ func TestKVPCollItr(t *testing.T) {
itr := NewItr(vrw, coll)

for i := 0; i < 2; i++ {
for _, expRes := range test.itrResults {
for _, express := range test.itrResults {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert. "expRes" is short for expected result.

@@ -497,7 +497,7 @@ func TestMapMutationReadWriteCount(t *testing.T) {
return temp.NewStruct(vs.Format(), []Value{
Bool(i%2 == 0),
Float(i),
String(fmt.Sprintf("I AM A REALLY REALY REALL SUPER CALIFRAGILISTICLY CRAZY-ASSED LONGTASTIC String %d", i)),
String(fmt.Sprintf("I AM A REALY REALY REAL SUPER CALIFRAGILISTICLY CRAZY-ASSED LONGTASTIC String %d", i)),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert

@@ -541,10 +541,10 @@ func (ms metaSequence) getChildren(ctx context.Context, start, end uint64) ([]se
}

if len(hs) == 0 {
return seqs, nil // can occur with ptree that is fully uncommitted
return seqs, nil // can occur with ptree that is fully uncomitted
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert all changes to this file.

@macneale4 macneale4 merged commit fed30c1 into dolthub:main Aug 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants