【发布时间】:2014-09-15 18:38:57
【问题描述】:
go test -timeout 99999
抛出这个无意义的错误
invalid value "99999" for flag -test.timeout:
time: missing unit in duration 99999
这是一个错误吗? 我正在使用 去版本go1.3
“帮助”cli 也无用。它说-test.timeout=0: if positive, sets an aggregate time limit for all tests。但是如果你去 test -test.timeout 99999 你会得到同样的错误
-test.timeout=0: if positive, sets an aggregate time limit for all tests
【问题讨论】:
-
"missing unit in duration 99999" 是怎么回事?