From ea8abd9a31286e70ae90d54667536815ce64f4bd Mon Sep 17 00:00:00 2001 From: Christopher Broglie Date: Thu, 10 Jun 2021 10:53:36 -0700 Subject: [PATCH] Update README to reflect spec version v1.2.1 --- README.md | 2 +- spec_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6da6987..1832061 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ This library is an implementation of the Mustache template language in Go. ### Mustache Spec Compliance -[mustache/spec](https://github.com/mustache/spec) contains the formal standard for Mustache, and it is included as a submodule (using v1.1.3) for testing compliance. All of the tests pass (big thanks to [kei10in](https://github.com/kei10in)), though the optional lambda support has not been implemented. +[mustache/spec](https://github.com/mustache/spec) contains the formal standard for Mustache, and it is included as a submodule (using v1.2.1) for testing compliance. All of the tests pass (big thanks to [kei10in](https://github.com/kei10in)), with the exception of the null interpolation tests added in v1.2.1. The optional inheritance and lambda support has not been implemented. ---- diff --git a/spec_test.go b/spec_test.go index a8556c5..c341f79 100644 --- a/spec_test.go +++ b/spec_test.go @@ -13,12 +13,12 @@ var disabledTests = map[string]map[string]struct{}{ "interpolation.json": { // disabled b/c Go uses """ in place of """ // both are valid escapings, and we validate the behavior in mustache_test.go - "HTML Escaping": struct{}{}, - // Newly added spec tests which aren't currently passing: + "HTML Escaping": struct{}{}, + "Implicit Iterators - HTML Escaping": struct{}{}, + // Not currently compliant with null interpolation tests added in v1.2.1 "Basic Null Interpolation": struct{}{}, "Triple Mustache Null Interpolation": struct{}{}, "Ampersand Null Interpolation": struct{}{}, - "Implicit Iterators - HTML Escaping": struct{}{}, }, "~lambdas.json": {}, // not implemented "~inheritance.json": {}, // not implemented