Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

testing: Move to quicktest #214

Merged
merged 1 commit into from
May 17, 2022
Merged

testing: Move to quicktest #214

merged 1 commit into from
May 17, 2022

Conversation

bep
Copy link
Owner

@bep bep commented May 17, 2022

Some of the gofmt replacements used:

gofmt -w -r 'assert.Equal(a, b) -> c.Assert(b, qt.Equals, a)'
gofmt -w -r 'assert.NotNil(a) -> c.Assert(a, qt.IsNotNil)'
gofmt -w -r 'assert.NoError(a) -> c.Assert(a, qt.IsNil)'
gofmt -w -r 'assert.Error(a) -> c.Assert(a, qt.IsNotNil)'
gofmt -w -r 'assert.Contains(a, b) -> c.Assert(a, qt.Contains, b)'
gofmt -w -r 'assert.Contains(d, e, f) -> c.Assert(d, qt.Contains, e, qt.Commentf(f))'
gofmt -w -r 'assert.False(a) -> c.Assert(a, qt.IsFalse)'
gofmt -w -r 'assert.True(a) -> c.Assert(a, qt.IsTrue)'

Some of the gofmt replacements used:

```bash
gofmt -w -r 'assert.Equal(a, b) -> c.Assert(b, qt.Equals, a)'
gofmt -w -r 'assert.NotNil(a) -> c.Assert(a, qt.IsNotNil)'
gofmt -w -r 'assert.NoError(a) -> c.Assert(a, qt.IsNil)'
gofmt -w -r 'assert.Error(a) -> c.Assert(a, qt.IsNotNil)'
gofmt -w -r 'assert.Contains(a, b) -> c.Assert(a, qt.Contains, b)'
gofmt -w -r 'assert.Contains(d, e, f) -> c.Assert(d, qt.Contains, e, qt.Commentf(f))'
gofmt -w -r 'assert.False(a) -> c.Assert(a, qt.IsFalse)'
gofmt -w -r 'assert.True(a) -> c.Assert(a, qt.IsTrue)'

```
@bep bep merged commit a442df5 into master May 17, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant