Skip to content

Commit 2e2f9a8

Browse files
committed
Split tests.
1 parent fd1aaea commit 2e2f9a8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/kernel/async.rb

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
end
1515
end
1616

17-
it "passes options through to initial task" do
17+
it "passes transient: options through to initial task" do
1818
Async(transient: true) do |task|
1919
expect(task).to be(:transient?)
2020
end
21-
21+
end
22+
23+
it "passes annotation: option through to initial task" do
2224
Async(annotation: "foobar") do |task|
2325
expect(task.annotation).to be == "foobar"
2426
end

0 commit comments

Comments
 (0)