X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=tests%2FTestCompiler.vala;h=b55b9fead8c446fe22aabafc4a7724289287e817;hp=f4f973d80ff78626d9ec192f2e8709a17706c9c4;hb=2a794bc59d20a61fcd734abe8caea2804987171c;hpb=bf208ba794742eb4e068e27acd0d86d8bd087942 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);