1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-26 23:10:42 +02:00
Files
starter/contextmain/contextmain_test.go
Nikitin Aleksandr e41e809e0d new
2023-03-17 11:20:09 +03:00

20 lines
348 B
Go

package contextmain
import (
"testing"
)
func TestGetContext(t *testing.T) {
ctx := GetContext()
if ctx == nil {
t.Error("contextmain_test.TestGetContext() Wrong GetContext() !")
}
}
func TestGetNewContext(t *testing.T) {
ctx := GetNewContext()
if ctx == nil {
t.Error("contextmain_test.TestGetNewContext() Wrong GetContext() !")
}
}