File: integrations_test.go

package info (click to toggle)
golang-github-twinj-uuid 0.10.0%2Bgit20160909.96.7bbe408-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 236 kB
  • sloc: makefile: 3
file content (16 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package uuid_test

import (
	"github.com/stretchr/testify/assert"
	. "github.com/twinj/uuid"
	"testing"
)

func TestInit(t *testing.T) {
	assert.Panics(t, didInitPanic, "Should panic")
}

func didInitPanic() {
	Init()
	Init()
}