push
17 of 18 new or added lines in 10 files covered. (94.44%)
450 existing lines in 31 files now uncovered.2010 of 2526 relevant lines covered (79.57%)
578.32 hits per line
| 1 |
module Concurrent |
1✔ |
| 2 |
class ImmediateExecutor |
1✔ |
| 3 |
|
|
| 4 |
def post(*args, &task) |
1✔ |
| 5 |
raise ArgumentError.new('no block given') unless block_given? |
55✔ |
| 6 |
task.call(*args) |
55✔ |
| 7 |
true
|
55✔ |
| 8 |
end
|
|
| 9 |
|
|
| 10 |
def <<(task) |
1✔ |
|
UNCOV
11
|
post(&task) |
× |
|
UNCOV
12
|
self
|
× |
| 13 |
end
|
|
| 14 |
end
|
|
| 15 |
end
|