mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-26 23:10:42 +02:00
20 lines
348 B
Go
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() !")
|
|
}
|
|
}
|