[vala] tests: Treat new lock/unlock tests as compile-only which they are
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] tests: Treat new lock/unlock tests as compile-only which they are
- Date: Fri, 27 Apr 2018 15:00:55 +0000 (UTC)
commit 9eff7d38c4b0add13917ad9ab94d1ba9188be585
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Apr 27 16:56:55 2018 +0200
tests: Treat new lock/unlock tests as compile-only which they are
tests/objects/bug795521.vala | 2 --
tests/parser/lock-statement.vala | 3 ---
2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/tests/objects/bug795521.vala b/tests/objects/bug795521.vala
index f47bd72..e1acc60 100644
--- a/tests/objects/bug795521.vala
+++ b/tests/objects/bug795521.vala
@@ -37,6 +37,4 @@ class Foo {
}
void main () {
- var foo = new Foo ();
- foo.use ();
}
diff --git a/tests/parser/lock-statement.vala b/tests/parser/lock-statement.vala
index 65d9d82..632a3e6 100644
--- a/tests/parser/lock-statement.vala
+++ b/tests/parser/lock-statement.vala
@@ -13,7 +13,4 @@ class Foo {
}
void main () {
- var foo = new Foo ();
- foo.explicit_unlocking ();
- foo.implicit_unlocking ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]