gplate/tags/tests/gplate-variable-tag-test.c
changeset 395 2a257237a0ef
parent 394 ad26d98e20e6
     1.1 --- a/gplate/tags/tests/gplate-variable-tag-test.c	Sat Jul 03 23:24:33 2010 -0500
     1.2 +++ b/gplate/tags/tests/gplate-variable-tag-test.c	Sun Jul 04 02:02:59 2010 -0500
     1.3 @@ -31,9 +31,6 @@
     1.4  	va_list vargs;
     1.5  	const gchar *name = NULL, *value = NULL;
     1.6  
     1.7 -	fixture->template_string = template_string;
     1.8 -	fixture->expected = expected;
     1.9 -
    1.10  	va_start(vargs, expected);
    1.11  	while((name = va_arg(vargs, const gchar *))) {
    1.12  		value = va_arg(vargs, const gchar *);
    1.13 @@ -41,10 +38,9 @@
    1.14  		gplate_collection_add_string(GPLATE_COLLECTION(fixture->template),
    1.15  		                             name, value);
    1.16  	}
    1.17 -
    1.18  	va_end(vargs);
    1.19  
    1.20 -	gplate_tag_test_output(fixture, data);
    1.21 +	gplate_tag_test_output(fixture, data, template_string, expected);
    1.22  }
    1.23  
    1.24  /******************************************************************************