diff --git a/.gitignore b/.gitignore index 7dbfd92..26b0a26 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ !*.go !*.md !*.mod -!*.sum +!*.sum \ No newline at end of file diff --git a/Contains.go b/Contains.go index 69205bc..4d46780 100644 --- a/Contains.go +++ b/Contains.go @@ -83,4 +83,4 @@ func contains(container any, element any) bool { } return false -} +} \ No newline at end of file diff --git a/Contains_test.go b/Contains_test.go index dc83435..4951522 100644 --- a/Contains_test.go +++ b/Contains_test.go @@ -36,4 +36,4 @@ func TestFailContains(t *testing.T) { func TestFailNotContains(t *testing.T) { assert.NotContains(fail(t), "Hello", "H") -} +} \ No newline at end of file diff --git a/Equal.go b/Equal.go index 75ccfde..01cc97c 100644 --- a/Equal.go +++ b/Equal.go @@ -32,4 +32,4 @@ func DeepEqual[T any](t test, a T, b T) { t.Errorf(twoParameters, file(), "DeepEqual", a, b) t.FailNow() -} +} \ No newline at end of file diff --git a/Equal_test.go b/Equal_test.go index 18676b0..0e61310 100644 --- a/Equal_test.go +++ b/Equal_test.go @@ -39,4 +39,4 @@ func TestFailNotEqual(t *testing.T) { func TestFailDeepEqual(t *testing.T) { assert.DeepEqual(fail(t), "Hello", "World") -} +} \ No newline at end of file diff --git a/Nil.go b/Nil.go index c7d7cc1..c8991ae 100644 --- a/Nil.go +++ b/Nil.go @@ -38,4 +38,4 @@ func isNil(object any) bool { } return false -} +} \ No newline at end of file diff --git a/Nil_test.go b/Nil_test.go index 4699de7..df35a0d 100644 --- a/Nil_test.go +++ b/Nil_test.go @@ -42,4 +42,4 @@ func TestFailNil(t *testing.T) { func TestFailNotNil(t *testing.T) { assert.NotNil(fail(t), nil) -} +} \ No newline at end of file diff --git a/True.go b/True.go index fbcb053..95090b9 100644 --- a/True.go +++ b/True.go @@ -8,4 +8,4 @@ func True(t test, a bool) { // False asserts that the given parameter is false. func False(t test, a bool) { Equal(t, a, false) -} +} \ No newline at end of file diff --git a/True_test.go b/True_test.go index 09ef569..7d95b25 100644 --- a/True_test.go +++ b/True_test.go @@ -9,4 +9,4 @@ import ( func TestTrue(t *testing.T) { assert.True(t, true) assert.False(t, false) -} +} \ No newline at end of file diff --git a/errors.go b/errors.go index 3e83117..3cda0dc 100644 --- a/errors.go +++ b/errors.go @@ -36,4 +36,4 @@ func file() string { } return name -} +} \ No newline at end of file diff --git a/errors_test.go b/errors_test.go index 313eef8..61b4dc2 100644 --- a/errors_test.go +++ b/errors_test.go @@ -16,4 +16,4 @@ func (t *noop) FailNow() {} // fail creates a new test that is expected to fail. func fail(t *testing.T) *noop { return &noop{} -} +} \ No newline at end of file diff --git a/go.mod b/go.mod index 2980283..a777599 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module git.urbach.dev/go/assert -go 1.24 +go 1.24 \ No newline at end of file diff --git a/test.go b/test.go index f61394d..6895240 100644 --- a/test.go +++ b/test.go @@ -4,4 +4,4 @@ package assert type test interface { Errorf(format string, args ...any) FailNow() -} +} \ No newline at end of file