wui_ctx_test.go 205 B

12345678910111213141516
  1. package wui_ctx
  2. import (
  3. "testing"
  4. )
  5. func TestWuiCtx(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. }