Skip to content

Commit e9b2daa

Browse files
committed
Remove low-value tests
1 parent c52ad8f commit e9b2daa

3 files changed

Lines changed: 1 addition & 23 deletions

File tree

internal/basic/flow_regwildcard_test.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package basic
22

3-
import (
4-
"path/filepath"
5-
"testing"
6-
)
3+
import "testing"
74

85
func TestRegDumpLookupWildcardBundle(t *testing.T) {
96
m := map[string]regDumpEntry{
@@ -32,9 +29,6 @@ func TestRegDumpLookupValueNameGlobBundle(t *testing.T) {
3229
if !ok || e.V != "d1" {
3330
t.Fatalf("lookup: ok=%v entry=%+v", ok, e)
3431
}
35-
if ok, _ := filepath.Match(`LastLoginDate_*`, "LastLoginDate_h202577560"); !ok {
36-
t.Fatal("filepath.Match sanity")
37-
}
3832
}
3933

4034
func TestFirstValueNameMatchingGlobStableOrder(t *testing.T) {

internal/basic/helpers_json_action_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,3 @@ func TestParseJSONPathAction_JSONEmptyValue(t *testing.T) {
1414
t.Fatalf("unexpected json path: %q", jsonPath)
1515
}
1616
}
17-
18-
func TestIsJSONEmptyValue(t *testing.T) {
19-
if !isJSONEmptyValue(`JSON_EMPTY_VALUE::a::b`) {
20-
t.Fatal("expected JSON_EMPTY_VALUE key to match")
21-
}
22-
if isJSONEmptyValue(`JSON_SELECT::a::b`) {
23-
t.Fatal("did not expect JSON_SELECT key to match JSON_EMPTY_VALUE")
24-
}
25-
}

internal/gamestatsimage/cache_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,3 @@ func TestFilenameFromURL(t *testing.T) {
1212
t.Fatalf("got %q", got)
1313
}
1414
}
15-
16-
func TestPublicURL(t *testing.T) {
17-
t.Parallel()
18-
if got := PublicURL("gs/apex", "platinum4.png"); got != "img/gs/apex/platinum4.png" {
19-
t.Fatalf("got %q", got)
20-
}
21-
}

0 commit comments

Comments
 (0)