wctx_test.go 200 B

12345678910111213141516
  1. package wctx
  2. import (
  3. "testing"
  4. )
  5. func TestWctx(t *testing.T) {
  6. ctx_ := GetWuiCtx()
  7. if ctx_ == nil {
  8. t.Fatalf("wCtx==nil")
  9. }
  10. ctx_ = GetWuiCtx()
  11. if ctx_ == nil {
  12. t.Fatalf("wCtx==nil")
  13. }
  14. }