xgo/runtime/vm_char_test.go
2019-01-11 02:27:28 -08:00

9 lines
176 B
Go

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