diff --git a/hugolib/language_test.go b/hugolib/language_test.go index 582d3985fdb..f7dd5b79d00 100644 --- a/hugolib/language_test.go +++ b/hugolib/language_test.go @@ -104,8 +104,7 @@ FormatCurrency: {{ 512.5032 | lang.FormatCurrency 2 "USD" }} FormatAccounting: {{ 512.5032 | lang.FormatAccounting 2 "NOK" }} FormatNumberCustom: {{ lang.FormatNumberCustom 2 12345.6789 }} -# We renamed this to FormatNumberCustom in 0.87.0. -NumFmt: {{ -98765.4321 | lang.NumFmt 2 }} + `) @@ -120,7 +119,6 @@ FormatCurrency: $512.50 FormatAccounting: NOK512.50 FormatNumberCustom: 12,345.68 -NumFmt: -98,765.43 `, ) @@ -131,8 +129,6 @@ FormatCurrency: 512,50 USD FormatAccounting: 512,50 kr FormatNumberCustom: 12,345.68 -# We renamed this to FormatNumberCustom in 0.87.0. -NumFmt: -98,765.43 `) } diff --git a/testscripts/commands/hugo.txt b/testscripts/commands/hugo.txt index 60f7ffe71a2..bf0f5cf0d39 100644 --- a/testscripts/commands/hugo.txt +++ b/testscripts/commands/hugo.txt @@ -11,7 +11,7 @@ grep 'IsServer: false;IsProduction: true' public/index.html baseURL = "http://example.org/" disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"] -- layouts/index.html -- -Home|IsServer: {{ .Site.IsServer }};IsProduction: {{ hugo.IsProduction }}| +Home|IsServer: {{ hugo.IsServer }};IsProduction: {{ hugo.IsProduction }}| -- layouts/_default/single.html -- Title: {{ .Title }} -- content/p1.md -- diff --git a/testscripts/commands/server.txt b/testscripts/commands/server.txt index a28e4d69832..7f6afd8fd7b 100644 --- a/testscripts/commands/server.txt +++ b/testscripts/commands/server.txt @@ -25,7 +25,7 @@ myenv = "theproduction" myenv = "thedevelopment" -- layouts/index.html --
-Title: {{ .Title }}|BaseURL: {{ site.BaseURL }}|ServerPort: {{ site.ServerPort }}|myenv: {{ .Site.Params.myenv }}|Env: {{ hugo.Environment }}|IsServer: {{ site.IsServer }}| +Title: {{ .Title }}|BaseURL: {{ site.BaseURL }}|ServerPort: {{ site.ServerPort }}|myenv: {{ .Site.Params.myenv }}|Env: {{ hugo.Environment }}|IsServer: {{ hugo.IsServer }}| -- layouts/404.html -- custom 404 diff --git a/tpl/collections/collections_integration_test.go b/tpl/collections/collections_integration_test.go index 3bcd4effbd0..e39493b529b 100644 --- a/tpl/collections/collections_integration_test.go +++ b/tpl/collections/collections_integration_test.go @@ -202,35 +202,6 @@ foo: bc b.AssertFileContent("public/index.html", "