diff --git a/test/kernel/async.rb b/test/kernel/async.rb index 52f78d22..c59b9c50 100644 --- a/test/kernel/async.rb +++ b/test/kernel/async.rb @@ -17,6 +17,10 @@ Async(transient: true) do |task| expect(task).to be(:transient?) end + + Async(annotation: 'foobar') do |task| + expect(task.annotation).to be == 'foobar' + end end end end