commit | 7ff8e90eb7ceb2016aa9fc736febd8a5902ec65e | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Mon Apr 21 17:00:27 2014 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Apr 21 17:00:27 2014 -0700 |
tree | e5a384568d92c7959f0f328c4a93edc673407d27 | |
parent | 2653386ce8dfd497fb9b8f65bc75ef9adf8e7b58 [diff] |
strings: fix off-by-one error in test Previously it would panic because of out-of-bound access if s1 is longer than s2. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/90110043