Skip to content

Commit

Permalink
Fix MVELTemplateTest
Browse files Browse the repository at this point in the history
Follows-up on #2485

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
  • Loading branch information
tsegismont committed Oct 25, 2023
1 parent ea00848 commit 2349dcd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@
import io.vertx.ext.unit.TestContext;
import io.vertx.ext.unit.junit.VertxUnitRunner;
import io.vertx.ext.web.common.template.TemplateEngine;
import io.vertx.ext.web.templ.mvel.MVELTemplateEngine;
import org.junit.Assume;
import org.junit.BeforeClass;
import org.junit.Test;

import io.vertx.ext.web.templ.mvel.MVELTemplateEngine;
import org.junit.runner.RunWith;

import java.io.File;
Expand Down Expand Up @@ -96,7 +95,7 @@ public void testTemplateHandlerWithInclude(TestContext should) {

String tmplPath = "src/test/filesystemtemplates/test-mvel-template4.templ".replace('/', File.separatorChar);
engine.render(context, tmplPath).onComplete(should.asyncAssertSuccess(render -> {
should.assertEquals("Hello badger and fox\n\nRequest path is /test-mvel-template4.templ\n", normalizeCRLF(render.toString()));
should.assertEquals("Hello badger and fox\nRequest path is /test-mvel-template4.templ", normalizeCRLF(render.toString()));
}));
}

Expand Down

0 comments on commit 2349dcd

Please sign in to comment.