summaryrefslogtreecommitdiff
path: root/libgo/go/html/token_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/html/token_test.go')
-rw-r--r--libgo/go/html/token_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/html/token_test.go b/libgo/go/html/token_test.go
index 45ce85e9115..a5efdf2d498 100644
--- a/libgo/go/html/token_test.go
+++ b/libgo/go/html/token_test.go
@@ -439,7 +439,7 @@ loop:
}
z.Next()
if z.Error() != os.EOF {
- t.Errorf("%s: want EOF got %q", tt.desc, z.Token().String())
+ t.Errorf("%s: want EOF got %q", tt.desc, z.Error())
}
}
}