[vala/staging: 2/2] tests: Relax dependency of asynchronous/method-main-async.vala on build environment
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 2/2] tests: Relax dependency of asynchronous/method-main-async.vala on build environment
- Date: Thu, 3 Feb 2022 11:02:07 +0000 (UTC)
commit 5231cd8a3fff3c198c68dd7ab165450b07d25130
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Feb 2 09:09:24 2022 +0100
tests: Relax dependency of asynchronous/method-main-async.vala on build environment
See 45fe8523ad392f1aaa0f24d83b63e91774938775
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1286
tests/asynchronous/method-main-async.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/asynchronous/method-main-async.vala b/tests/asynchronous/method-main-async.vala
index c28aa3506..1c994c317 100644
--- a/tests/asynchronous/method-main-async.vala
+++ b/tests/asynchronous/method-main-async.vala
@@ -6,6 +6,6 @@ async int main (string[] args) {
Idle.add (main.callback);
yield;
- assert (foo == "./asynchronous_method_main_async");
+ assert (foo.has_suffix ("asynchronous_method_main_async"));
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]