summaryrefslogtreecommitdiff
path: root/dev-ruby/async-io/files/async-io-1.34.3-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/async-io/files/async-io-1.34.3-tests.patch')
-rw-r--r--dev-ruby/async-io/files/async-io-1.34.3-tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-ruby/async-io/files/async-io-1.34.3-tests.patch b/dev-ruby/async-io/files/async-io-1.34.3-tests.patch
new file mode 100644
index 000000000000..620405396dd1
--- /dev/null
+++ b/dev-ruby/async-io/files/async-io-1.34.3-tests.patch
@@ -0,0 +1,19 @@
+https://github.com/socketry/async-io/commit/fe6f1972c74ec0c5107e127cdb299f41b798e3dd
+https://bugs.gentoo.org/904159
+
+From fe6f1972c74ec0c5107e127cdb299f41b798e3dd Mon Sep 17 00:00:00 2001
+From: Samuel Williams <samuel.williams@oriontransfer.co.nz>
+Date: Sat, 18 Mar 2023 17:55:54 +1300
+Subject: [PATCH] Don't depend on status name.
+
+--- a/spec/async/io/notification_spec.rb
++++ b/spec/async/io/notification_spec.rb
+@@ -39,7 +39,7 @@
+ signalling_task.wait
+ waiting_task.wait
+
+- expect(waiting_task.status).to be :complete
++ expect(waiting_task).to be_complete
+
+ subject.close
+ end