aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-08-05 19:14:07 +0200
committerBjørn Erik Pedersen <[email protected]>2024-08-05 19:23:53 +0200
commit69455fa422cce664302a2cd68cdb0d4b1791afdc (patch)
tree7ce0a0e03ee79adf5477b6ae19d7f56877035520 /hugolib
parent2fcc53780f765c05dd6b7ec41c6bb76308362e5e (diff)
downloadhugo-69455fa422cce664302a2cd68cdb0d4b1791afdc.tar.gz
hugo-69455fa422cce664302a2cd68cdb0d4b1791afdc.zip
Fix deprecation errors
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/language_test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/hugolib/language_test.go b/hugolib/language_test.go
index 582d3985f..f7dd5b79d 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
`)
}