Public Access
1
0
Files
emuz80disasmgo/empty_test.go
2025-09-25 14:18:22 +03:00

16 lines
314 B
Go

// Package disasm provides tests for the Z80 disassembler implementation
package disasm
import (
"testing"
)
// TestEmptyData tests handling of empty data
func TestEmptyData(t *testing.T) {
d := New()
_, err := d.Decode([]byte{})
if err == nil {
t.Errorf("expected error for empty data but got none")
}
}