1
hermetic_cc_toolchain/test/go/hello_test.go

14 lines
177 B
Go
Raw Normal View History

2022-01-28 15:49:24 +02:00
package main
2022-01-28 15:57:22 +02:00
import (
"testing"
)
2022-01-28 15:49:24 +02:00
func TestHello(t *testing.T) {
want := "hello, world"
2022-01-28 15:57:22 +02:00
got := Chello()
2022-01-28 15:49:24 +02:00
if got != want {
t.Errorf("expected %q, got %q", want, got)
}
}