mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-24 01:26:39 +00:00
all: rename variables with lowercase-l/uppercase-I
See http://go/no-ell Signed-off-by: Alex Chan <alexc@tailscale.com> Updates #cleanup Change-Id: I8c976b51ce7a60f06315048b1920516129cc1d5d
This commit is contained in:
@@ -76,8 +76,8 @@ func TestSigNested(t *testing.T) {
|
||||
if err := nestedSig.verifySignature(oldNode.Public(), k); err != nil {
|
||||
t.Fatalf("verifySignature(oldNode) failed: %v", err)
|
||||
}
|
||||
if l := sigChainLength(nestedSig); l != 1 {
|
||||
t.Errorf("nestedSig chain length = %v, want 1", l)
|
||||
if ln := sigChainLength(nestedSig); ln != 1 {
|
||||
t.Errorf("nestedSig chain length = %v, want 1", ln)
|
||||
}
|
||||
|
||||
// The signature authorizing the rotation, signed by the
|
||||
@@ -93,8 +93,8 @@ func TestSigNested(t *testing.T) {
|
||||
if err := sig.verifySignature(node.Public(), k); err != nil {
|
||||
t.Fatalf("verifySignature(node) failed: %v", err)
|
||||
}
|
||||
if l := sigChainLength(sig); l != 2 {
|
||||
t.Errorf("sig chain length = %v, want 2", l)
|
||||
if ln := sigChainLength(sig); ln != 2 {
|
||||
t.Errorf("sig chain length = %v, want 2", ln)
|
||||
}
|
||||
|
||||
// Test verification fails if the wrong verification key is provided
|
||||
|
||||
Reference in New Issue
Block a user