From 6afbf9616272c1154c45da861e5f6162a0b9ed04 Mon Sep 17 00:00:00 2001 From: Luke Blaney Date: Mon, 13 May 2024 23:10:00 +0100 Subject: [PATCH] Update to latest spec tests Skip new interpolation test and optional inheritance part of the spec --- test/mustache-spec-test.js | 31 +++++++++++++++++++++++++++++++ test/spec | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/test/mustache-spec-test.js b/test/mustache-spec-test.js index 0e50018..d035048 100644 --- a/test/mustache-spec-test.js +++ b/test/mustache-spec-test.js @@ -14,6 +14,9 @@ var skipTests = { inverted: [ 'Standalone Without Newline' ], + interpolation: [ + 'Dotted Names - Context Precedence' + ], partials: [ 'Standalone Without Previous Line', 'Standalone Without Newline' @@ -21,6 +24,34 @@ var skipTests = { sections: [ 'Standalone Without Newline' ], + '~inheritance': [ + 'Default', + 'Variable', + 'Triple Mustache', + 'Sections', + 'Negative Sections', + 'Mustache Injection', + 'Inherit', + 'Overridden content', + 'Data does not override block', + 'Data does not override block default', + 'Overridden parent', + 'Two overridden parents', + 'Override parent with newlines', + 'Inherit indentation', + 'Only one override', + 'Parent template', + 'Recursion', + 'Multi-level inheritance', + 'Multi-level inheritance, no sub child', + 'Text inside parent', + 'Block scope', + 'Standalone parent', + 'Standalone block', + 'Block reindentation', + 'Intrinsic indentation', + 'Nested block reindentation' + ], '~lambdas': [ 'Interpolation', 'Interpolation - Expansion', diff --git a/test/spec b/test/spec index 72233f3..7138576 160000 --- a/test/spec +++ b/test/spec @@ -1 +1 @@ -Subproject commit 72233f3ffda9e33915fd3022d0a9ebbcce265acd +Subproject commit 7138576e12ff0f05511de77807c2fb3959bb22e3