grim/gplate

8177d5319ee0
Parents cac551fa4529
Children 244039cb623d
really fixed the unittests that I thought I fixed before
--- a/tests/functions/test-gplate-include-function.c Sun Jun 23 05:06:20 2013 -0500
+++ b/tests/functions/test-gplate-include-function.c Sun Jun 23 05:13:30 2013 -0500
@@ -70,7 +70,7 @@
{
gchar *path = NULL;
- fixture->expected = "including\nincluded!\ndone\n\n";
+ fixture->expected = "including\nincluded!\n\ndone\n\n";
path = g_build_filename(TEST_DIR, "templates", "simple.gplate", NULL);
fixture->actual = gplate_template_render_file(fixture->template,
@@ -89,14 +89,14 @@
{
gchar *path = NULL;
- fixture->expected = " \
-<html>\
- <head>\
- <title>test</title>\
- </head>\
- <body>\
+ fixture->expected = "\
+<html>\n\
+ <head>\n\
+ <title>test</title>\n\
+ </head>\n\
+ <body>\n\
in the body\
- </body>\
+ </body>\n\
</html>\n\n";
path = g_build_filename(TEST_DIR, "templates", "html.gplate", NULL);