multipleres_test.go 209 B

1234567891011
  1. package examples
  2. import "testing"
  3. func TestMultipleres(t *testing.T) {
  4. str := "Go Language!"
  5. if m, n := Multipleres(); m+n != str {
  6. t.Fatalf("Multipleres() returned a different string: %s%s", m, n)
  7. }
  8. }