Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Add small test for debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
jvehent committed Jun 17, 2018
1 parent cf63270 commit ac25a1d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions errors_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package mar

import "testing"

func TestDebugPrint(t *testing.T) {
debug = "true"
debugPrint("debug is %s\n", debug)
debug = "false"
}

0 comments on commit ac25a1d

Please sign in to comment.