From ac25a1d7c369ac6872c6e0cd73e06f5fa144a2d1 Mon Sep 17 00:00:00 2001 From: Julien Vehent Date: Sun, 17 Jun 2018 09:59:24 -0400 Subject: [PATCH] Add small test for debug printing --- errors_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 errors_test.go diff --git a/errors_test.go b/errors_test.go new file mode 100644 index 0000000..5d05e99 --- /dev/null +++ b/errors_test.go @@ -0,0 +1,9 @@ +package mar + +import "testing" + +func TestDebugPrint(t *testing.T) { + debug = "true" + debugPrint("debug is %s\n", debug) + debug = "false" +}