Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gets out of shape when showing single and multi byte character #1

Open
todoa2c opened this issue Aug 11, 2013 · 0 comments
Open

Gets out of shape when showing single and multi byte character #1

todoa2c opened this issue Aug 11, 2013 · 0 comments
Assignees

Comments

@todoa2c
Copy link
Owner

todoa2c commented Aug 11, 2013

go run main.go -pattern=expect < main_test.go           
  13    "abracadabra", "a") expected := []int{0, 3, 5,
  15    f len(index) != len(expected) { t.Error("Expec
  19    e index { if pos != expected[i] { t.Errorf("Ex
  20    ct %d, actual: %d", expected[i], pos) } }  ind
  25    os("アブラカダブラ", "ブラ") expected = []int{1, 5} if    ← here
  26    f len(index) != len(expected) { t.Error("Expec
  30    e index { if pos != expected[i] { t.Errorf("Ex
  31    ct %d, actual: %d", expected[i], pos) } } } 
@ghost ghost assigned todoa2c Aug 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant