You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package main
-
- import (
- "os"
- "testing"
- )
-
- func TestMain(m *testing.M) {
- os.Exit(m.Run())
- }
-
- func TestHelloWorld(t *testing.T) {
- if HelloWorld() != "hello world" {
- t.Errorf("got %s expected %s", HelloWorld(), "hello world")
- }
- }
|