Skip to content

Commit

Permalink
Fixes bug for go-tip
Browse files Browse the repository at this point in the history
  • Loading branch information
chewxy committed Dec 2, 2017
1 parent 16ea621 commit dd36439
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ before_install:

script:
- go test -run=. -coverprofile=profile.cov
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci

matrix:
allow_failures:
- go: tip
2 changes: 1 addition & 1 deletion rope_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func TestPlay(t *testing.T) {
r.InsertRunes(10, []rune("ADDED"))
rs = r.SubstrRunes(0, r.size)
if string(rs) != "0123456789ADDED hello world ab2cdefghi fakk1 eir3d" {
t.Error("Add failed. Got %q instead", string(rs))
t.Errorf("Add failed. Got %q instead", string(rs))
}

// erase "ADDED"
Expand Down

0 comments on commit dd36439

Please sign in to comment.