File: nodebug_test.go

package info (click to toggle)
golang-github-lestrrat-go-pdebug 0.0~git20180220.0.569c974-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 108 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//+build !debug,!debug0

package pdebug

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestDisabled(t *testing.T) {
	assert.False(t, Enabled, "Enable is false")
	assert.False(t, Trace, "Trace is false")
}