♻️ Replace testify with be for tests

This commit is contained in:
Dan Jones 2025-09-26 20:23:32 -05:00
commit 4d723077e1
8 changed files with 79 additions and 91 deletions

View file

@ -4,12 +4,12 @@ import (
"testing"
"time"
"github.com/stretchr/testify/assert"
"github.com/nalgeon/be"
)
func TestTimestamp(t *testing.T) {
n := time.Now()
st, err := Timestamp()(nil)
assert.NoError(t, err)
assert.Equal(t, n.Format(FileTimestamp), st)
be.Err(t, err, nil)
be.Equal(t, st, n.Format(FileTimestamp))
}