File: utils_test.go

package info (click to toggle)
dmarc-cat 0.9.2-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 164 kB
  • sloc: xml: 104; makefile: 27
file content (25 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package main

import (
	"testing"
)

func TestVerbose_No(t *testing.T) {
	verbose("no")
}

func TestVerbose_Yes(t *testing.T) {
	fVerbose = true
	verbose("yes")
	fVerbose = false
}

func TestDebug_No(t *testing.T) {
	debug("no")
}

func TestDebug_Yes(t *testing.T) {
	fVerbose = true
	verbose("yes")
	fVerbose = false
}