aboutsummaryrefslogtreecommitdiffstats
path: root/tun/wintun/registry/registry_windows_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tun/wintun/registry/registry_windows_test.go')
-rw-r--r--tun/wintun/registry/registry_windows_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/registry/registry_windows_test.go b/tun/wintun/registry/registry_windows_test.go
index c5a6e28..c56b51b 100644
--- a/tun/wintun/registry/registry_windows_test.go
+++ b/tun/wintun/registry/registry_windows_test.go
@@ -66,7 +66,7 @@ func Test_GetValueWait(t *testing.T) {
key.Close()
}()
- key, err := OpenKeyWait(keyRoot, path, registry.QUERY_VALUE|KEY_NOTIFY, time.Second*2)
+ key, err := OpenKeyWait(keyRoot, path, registry.QUERY_VALUE|registry.NOTIFY, time.Second*2)
if err != nil {
t.Errorf("Error waiting for registry key: %v", err)
}