Sign in
go
/
vscode-go
/
15a266b188be233fe6d6c76439c5beb87846fbf1
/
.
/
test
/
testdata
/
baseTest
/
sample_test.go
blob: 918549abaf8eb791121d90c9aab2b885d3268631 [
file
] [
log
] [
blame
]
package main
import (
"fmt"
"os"
"testing"
)
func hello() {
fmt.Println("Hello")
}
// TestMe
func TestMe(t *testing.T) {
if os.Getenv("dummyEnvVar") != "dummyEnvValue" {
t.Errorf("Oops! Value for the variable is %q", os.Getenv("dummyEnvVar"))
}
}