diff --git a/.travis.yml b/.travis.yml index 5b1c64e..66dbd2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: node_js node_js: - - 10/* + - 10.17.0 sudo: required diff --git a/src/VGriveClient.vala b/src/VGriveClient.vala index 8d1035f..11f98fb 100644 --- a/src/VGriveClient.vala +++ b/src/VGriveClient.vala @@ -1063,7 +1063,7 @@ namespace App { } public DriveFile get_file_info_extra(string file_id, string fields) throws ErrorGoogleDriveAPI { - RequestParam[1] params = new RequestParam[1]; + RequestParam[] params = new RequestParam[1]; params[0] = {"fields", fields}; string res = this.make_request("GET", this.api_uri+"/files/"+file_id, params, null, null, false).response; var parser = new Json.Parser (); diff --git a/tests/test.vala b/tests/test.vala index 93c8813..f8a2ed3 100644 --- a/tests/test.vala +++ b/tests/test.vala @@ -5,7 +5,7 @@ public abstract class Gee.TestCase : Object { public delegate void TestMethod (); - public TestCase (string name) { + protected TestCase (string name) { this.suite = new GLib.TestSuite (name); }