blob: ad465926e3651795842f6345fa03499da1ee9c70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package util
import (
"testing"
)
func TestLoadSignerBinaryPath(t *testing.T) {
path, err := LoadSignerBinaryPath("./test_data/certificate_config.json")
if err != nil {
t.Errorf("LoadSignerBinaryPath error: %q", err)
}
want := "C:/Program Files (x86)/Google/Endpoint Verification/signer.exe"
if path != want {
t.Errorf("Expected path is %q, got: %q", want, path)
}
}
|