X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=tests%2FTestCompiler.vala;h=009e5aa2308abc2a9a89ee56c8ba87c485100c6d;hb=b28112d39ef063f657d5b18a42d5e5a904855c88;hp=f4f973d80ff78626d9ec192f2e8709a17706c9c4;hpb=bf208ba794742eb4e068e27acd0d86d8bd087942;p=app.Builder.js diff --git a/tests/TestCompiler.vala b/tests/TestCompiler.vala index f4f973d80..009e5aa23 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 + this.file ); source_file.add_using_directive (ns_ref); context.add_source_file (source_file);