aboutsummaryrefslogtreecommitdiff
path: root/src/text/template/exec_test.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-11-14 22:23:10 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-11-14 22:23:24 +0000
commitb83350a2e05d63eaae8da9ff4f957ab44e4cb9d9 (patch)
tree393b98cd52778fc2a190ebdea52fbdcfd856f0f8 /src/text/template/exec_test.go
parent2442b49c47aa818bbc55e4c064e9ea0ca058735f (diff)
downloadgo-b83350a2e05d63eaae8da9ff4f957ab44e4cb9d9.tar.xz
Revert "text/template: efficient reporting of line numbers"
This reverts commit 794fb71d9c1018c4beae1657baca5229e6a02ad0. Reason for revert: submitted without TryBots and it broke all three race builders. Change-Id: I80a1e566616f0ee8fa3529d4eeee04268f8a713b Reviewed-on: https://go-review.googlesource.com/33232 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/text/template/exec_test.go')
-rw-r--r--src/text/template/exec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text/template/exec_test.go b/src/text/template/exec_test.go
index 7d4af3bcba..9b4da435bc 100644
--- a/src/text/template/exec_test.go
+++ b/src/text/template/exec_test.go
@@ -1152,7 +1152,7 @@ func TestUnterminatedStringError(t *testing.T) {
t.Fatal("expected error")
}
str := err.Error()
- if !strings.Contains(str, "X:3: unexpected unterminated raw quoted string") {
+ if !strings.Contains(str, "X:3: unexpected unterminated raw quoted strin") {
t.Fatalf("unexpected error: %s", str)
}
}