mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-05 00:45:29 +08:00
16 lines
464 B
Go
16 lines
464 B
Go
package deepseek
|
|
|
|
import "testing"
|
|
|
|
func TestSharedConstantsLoaded(t *testing.T) {
|
|
if BaseHeaders["x-client-platform"] != "android" {
|
|
t.Fatalf("unexpected base header x-client-platform=%q", BaseHeaders["x-client-platform"])
|
|
}
|
|
if len(SkipContainsPatterns) == 0 {
|
|
t.Fatal("expected skip contains patterns to be loaded")
|
|
}
|
|
if _, ok := SkipExactPathSet["response/search_status"]; !ok {
|
|
t.Fatal("expected response/search_status in exact skip path set")
|
|
}
|
|
}
|