From 81141178a6e32579a34118a3deb64350272f6d2d Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 22 Jun 2018 20:25:15 +0200 Subject: Add test for 'super' macro --- testing/templates/deep-mid.html | 1 + testing/tests/inheritance.rs | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/testing/templates/deep-mid.html b/testing/templates/deep-mid.html index 76ab7e6..a2af4fd 100644 --- a/testing/templates/deep-mid.html +++ b/testing/templates/deep-mid.html @@ -3,6 +3,7 @@ {% block head %} {{ title }} + {% call super() %} {% endblock %} {% block body %} diff --git a/testing/tests/inheritance.rs b/testing/tests/inheritance.rs index 5eb42dd..8c07c4e 100644 --- a/testing/tests/inheritance.rs +++ b/testing/tests/inheritance.rs @@ -142,6 +142,9 @@ fn test_deep() { Test + + + @@ -237,6 +240,9 @@ fn test_flat_deep() { Test + + + -- cgit