mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
17 lines
264 B
Go
17 lines
264 B
Go
package rand
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestGet(t *testing.T) {
|
|
rand1, err := Get()
|
|
require.Nil(t, err)
|
|
rand2, err := Get()
|
|
require.Nil(t, err)
|
|
assert.NotEqual(t, rand1, rand2)
|
|
}
|