mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 06:56:36 +08:00
refactor(backend): rename OpenFlare directory to lowercase openflare
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// Copyright 2026 Arctel.net
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package task
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// This file exists so `go test` on the task adapter stays valid.
|
||||
func TestSetServiceNil(t *testing.T) {
|
||||
SetService(nil)
|
||||
if _, err := DispatchTask(context.Background(), "x", nil, "test"); err == nil {
|
||||
t.Fatal("expected error when task service is nil")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user