aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r--fish_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp
index 0f7ef62a..aa9db117 100644
--- a/fish_tests.cpp
+++ b/fish_tests.cpp
@@ -2248,7 +2248,7 @@ static void test_universal()
bool poll_notifier(universal_notifier_t *note)
{
bool result = false;
- if (note->needs_polling())
+ if (note->usec_delay_between_polls() > 0)
{
result = note->poll();
}