Update dependencies
This commit is contained in:
1 parent
f0641ffd6e
commit
5a9cfc022c
882 files changed
+68907
-24178
No files matched your search
+5
-2
@@ -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