wa-lang.org/wazero@v1.0.2/internal/asm/arm64/consts_test.go (about) 1 package arm64 2 3 import ( 4 "testing" 5 6 "wa-lang.org/wazero/internal/asm" 7 "wa-lang.org/wazero/internal/testing/require" 8 ) 9 10 // TestInstructionName ensures that all the instruction's name is defined. 11 func TestInstructionName(t *testing.T) { 12 for inst := asm.Instruction(0); inst < instructionEnd; inst++ { 13 require.NotEqual(t, "", InstructionName(inst)) 14 } 15 }