[windows_kext] keep generated test data

This commit is contained in:
Vladimir Stoilov
2024-05-16 17:29:24 +03:00
parent 1c4df53152
commit 53d1d52c39
6 changed files with 6 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ import (
func TestRustInfoFile(t *testing.T) {
t.Parallel()
file, err := os.Open("../protocol/rust_info_test.bin")
file, err := os.Open("testdata/rust_info_test.bin")
if err != nil {
panic(err)
}
@@ -175,7 +175,7 @@ func TestRustInfoFile(t *testing.T) {
func TestGenerateCommandFile(t *testing.T) {
t.Parallel()
file, err := os.Create("go_command_test.bin")
file, err := os.Create("../protocol/testdata/go_command_test.bin")
if err != nil {
t.Errorf("failed to create file: %s", err)
}