mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
17 lines
286 B
Go
17 lines
286 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package ingest
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
)
|
|
|
|
func TestGetActiveRequiresUploadID(t *testing.T) {
|
|
_, err := GetActive(context.Background(), 0)
|
|
if err == nil {
|
|
t.Fatal("expected error for empty upload id")
|
|
}
|
|
}
|