util.go 200 B

1234567891011
  1. package util
  2. import (
  3. "testing"
  4. )
  5. func AssertEqual(expected string, output string, t *testing.T) {
  6. if expected != output {
  7. t.Fatalf("Expected `%s` not `%s`\n", expected, output)
  8. }
  9. }