1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:14:40 -07:00
R=r
CC=golang-dev
https://golang.org/cl/190103
This commit is contained in:
Russ Cox 2010-01-22 14:24:17 -08:00
parent 82a7de9dfd
commit c634189d56

View File

@ -12,7 +12,7 @@ import (
func TestInt(t *testing.T) {
reqs := NewInt("requests")
if reqs.i != 0 {
t.Errorf("reqs.i = %v, want 4", reqs.i)
t.Errorf("reqs.i = %v, want 0", reqs.i)
}
if reqs != Get("requests").(*Int) {
t.Errorf("Get() failed.")