From 0e7c66e44fb518e57f3b1255023ca1834fd35bbd Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 15 Aug 2024 13:57:05 +0200 Subject: [PATCH] Added more tests --- src/exe/macho/MachO_test.go | 12 ++++++++++++ src/exe/pe/EXE_test.go | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/exe/macho/MachO_test.go create mode 100644 src/exe/pe/EXE_test.go diff --git a/src/exe/macho/MachO_test.go b/src/exe/macho/MachO_test.go new file mode 100644 index 0000000..29b63c5 --- /dev/null +++ b/src/exe/macho/MachO_test.go @@ -0,0 +1,12 @@ +package macho_test + +import ( + "io" + "testing" + + "git.akyoto.dev/cli/q/src/exe/macho" +) + +func TestWrite(t *testing.T) { + macho.Write(io.Discard, nil, nil) +} diff --git a/src/exe/pe/EXE_test.go b/src/exe/pe/EXE_test.go new file mode 100644 index 0000000..71eede8 --- /dev/null +++ b/src/exe/pe/EXE_test.go @@ -0,0 +1,12 @@ +package pe_test + +import ( + "io" + "testing" + + "git.akyoto.dev/cli/q/src/exe/pe" +) + +func TestWrite(t *testing.T) { + pe.Write(io.Discard, nil, nil) +}