From 2a794bc59d20a61fcd734abe8caea2804987171c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 14 May 2015 15:43:58 +0800 Subject: [PATCH] tests/TestCompiler.vala --- tests/TestCompiler.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.39.2