Update dependencies
This commit is contained in:
7
vendor/tailscale.com/util/syspolicy/internal/internal.go
generated
vendored
7
vendor/tailscale.com/util/syspolicy/internal/internal.go
generated
vendored
@@ -13,6 +13,9 @@ import (
|
||||
"tailscale.com/version"
|
||||
)
|
||||
|
||||
// Init facilitates deferred invocation of initializers.
|
||||
var Init lazy.DeferredInit
|
||||
|
||||
// OSForTesting is the operating system override used for testing.
|
||||
// It follows the same naming convention as [version.OS].
|
||||
var OSForTesting lazy.SyncValue[string]
|
||||
@@ -53,10 +56,10 @@ func EqualJSONForTest(tb TB, j1, j2 jsontext.Value) (s1, s2 string, equal bool)
|
||||
return "", "", true
|
||||
}
|
||||
// Otherwise, format the values for display and return false.
|
||||
if err := j1.Indent("", "\t"); err != nil {
|
||||
if err := j1.Indent(); err != nil {
|
||||
tb.Fatal(err)
|
||||
}
|
||||
if err := j2.Indent("", "\t"); err != nil {
|
||||
if err := j2.Indent(); err != nil {
|
||||
tb.Fatal(err)
|
||||
}
|
||||
return j1.String(), j2.String(), false
|
||||
|
||||
Reference in New Issue
Block a user