xgo/vm/vm_char_test.go
2019-01-10 02:45:20 -08:00

9 lines
171 B
Go

package vm_test
import "testing"
func TestChar(t *testing.T) {
expect(t, `out = 'a'`, 'a')
expect(t, `out = '九'`, rune(20061))
expect(t, `out = 'Æ'`, rune(198))
}