1
Fork 0
hermetic_cc_toolchain/test/cgo/cgo_test.go

17 lines
254 B
Go
Raw Normal View History

// Copyright 2023 Uber Technologies, Inc.
// Licensed under the MIT License
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)
}
}