From: Alan Knowles Date: Thu, 14 May 2015 07:43:58 +0000 (+0800) Subject: tests/TestCompiler.vala X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=2a794bc59d20a61fcd734abe8caea2804987171c tests/TestCompiler.vala --- diff --git a/tests/TestCompiler.vala b/tests/TestCompiler.vala index f4f973d80..b55b9fead 100644 --- a/tests/TestCompiler.vala +++ b/tests/TestCompiler.vala @@ -26,7 +26,7 @@ namespace Palete { - public Gee.HashMap checkString(string contents) + public Gee.HashMap checkString( ) { // init context: var valac = "valac " ; @@ -86,8 +86,7 @@ namespace Palete { var source_file = new Vala.SourceFile ( context, Vala.SourceFileType.SOURCE, - "~~~~~testfile.vala", - contents + file ); source_file.add_using_directive (ns_ref); context.add_source_file (source_file);