[vala] tests: remove unnecessary main argument from bug723195 test



commit a519a826acfdc140a3956acc5cc799e5170347b0
Author: Evan Nemerson <evan coeus-group com>
Date:   Tue Jan 28 20:18:35 2014 -0800

    tests: remove unnecessary main argument from bug723195 test

 tests/methods/bug723195.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/tests/methods/bug723195.vala b/tests/methods/bug723195.vala
index 1ea5990..e0676cb 100644
--- a/tests/methods/bug723195.vala
+++ b/tests/methods/bug723195.vala
@@ -1,4 +1,4 @@
-private static int main (string[] args) {
+void main () {
        string[] a = { "foo", "bar", null, "baz" };
 
        a.length = 0;
@@ -20,6 +20,4 @@ private static int main (string[] args) {
        assert (string.joinv (":", a) == "foo:bar");
 
        assert (string.joinv (":", null) == "");
-
-       return 0;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]