mirror of
https://github.com/golang/go
synced 2024-11-22 01:14:40 -07:00
parent
82a7de9dfd
commit
c634189d56
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user