mirror of
https://github.com/soypat/lneto.git
synced 2026-08-29 02:49:06 +00:00
reread coverage docs
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
coverage:
|
coverage:
|
||||||
require_ci_to_pass: false
|
range: 30..100
|
||||||
ignore:
|
ignore:
|
||||||
- "examples/**"
|
- "examples/**"
|
||||||
- "**/stringers.go"
|
- "**/stringers.go"
|
||||||
|
|||||||
+10
@@ -35,3 +35,13 @@ func (backoff BackoffStrategy) Do(consecutiveBackoffs uint) {
|
|||||||
time.Sleep(sleep)
|
time.Sleep(sleep)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Uncovered() int {
|
||||||
|
a := 250 * 23
|
||||||
|
A:
|
||||||
|
a *= 32
|
||||||
|
if a > 323 {
|
||||||
|
goto A
|
||||||
|
}
|
||||||
|
return a
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user