Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io> Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
16 lines
378 B
Go
16 lines
378 B
Go
package arm64
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/tetratelabs/wazero/internal/asm"
|
|
"github.com/tetratelabs/wazero/internal/testing/require"
|
|
)
|
|
|
|
// TestInstructionName ensures that all the instruction's name is defined.
|
|
func TestInstructionName(t *testing.T) {
|
|
for inst := asm.Instruction(0); inst < instructionEnd; inst++ {
|
|
require.NotEqual(t, "", InstructionName(inst))
|
|
}
|
|
}
|