Sign in
go
/
vscode-go
/
f796ab1d971a025ed18c0c42f7e009039baa43b0
/
.
/
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"))
}
}