From 23da3897c15437bd43dc8d2bc5f49ac4849e6c32 Mon Sep 17 00:00:00 2001 From: Nikolay Turpitko Date: Mon, 7 Nov 2016 23:45:35 +0700 Subject: [PATCH] Update ru_RU_test.go Non-breaking spaces in numbers. --- ru_RU/ru_RU_test.go | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/ru_RU/ru_RU_test.go b/ru_RU/ru_RU_test.go index 1ee31e738..f9b1934bc 100644 --- a/ru_RU/ru_RU_test.go +++ b/ru_RU/ru_RU_test.go @@ -926,27 +926,27 @@ func TestFmtNumber(t *testing.T) { { num: 1123456.5643, v: 2, - expected: "1 123 456,56", + expected: "1 123 456,56", }, { num: 1123456.5643, v: 1, - expected: "1 123 456,6", + expected: "1 123 456,6", }, { num: 221123456.5643, v: 3, - expected: "221 123 456,564", + expected: "221 123 456,564", }, { num: -221123456.5643, v: 3, - expected: "-221 123 456,564", + expected: "-221 123 456,564", }, { num: -221123456.5643, v: 3, - expected: "-221 123 456,564", + expected: "-221 123 456,564", }, { num: 0, @@ -987,55 +987,55 @@ func TestFmtCurrency(t *testing.T) { num: 1123456.5643, v: 2, currency: currency.USD, - expected: "1 123 456,56 USD", + expected: "1 123 456,56 USD", }, { num: 1123456.5643, v: 1, currency: currency.USD, - expected: "1 123 456,60 USD", + expected: "1 123 456,60 USD", }, { num: 221123456.5643, v: 3, currency: currency.USD, - expected: "221 123 456,564 USD", + expected: "221 123 456,564 USD", }, { num: -221123456.5643, v: 3, currency: currency.USD, - expected: "-221 123 456,564 USD", + expected: "-221 123 456,564 USD", }, { num: -221123456.5643, v: 3, currency: currency.CAD, - expected: "-221 123 456,564 CAD", + expected: "-221 123 456,564 CAD", }, { num: 0, v: 2, currency: currency.USD, - expected: "0,00 USD", + expected: "0,00 USD", }, { num: -0, v: 2, currency: currency.USD, - expected: "0,00 USD", + expected: "0,00 USD", }, { num: -0, v: 2, currency: currency.CAD, - expected: "0,00 CAD", + expected: "0,00 CAD", }, { num: 1.23, v: 0, currency: currency.USD, - expected: "1,00 USD", + expected: "1,00 USD", }, } @@ -1061,49 +1061,49 @@ func TestFmtAccounting(t *testing.T) { num: 1123456.5643, v: 2, currency: currency.USD, - expected: "1 123 456,56 USD", + expected: "1 123 456,56 USD", }, { num: 1123456.5643, v: 1, currency: currency.USD, - expected: "1 123 456,60 USD", + expected: "1 123 456,60 USD", }, { num: 221123456.5643, v: 3, currency: currency.USD, - expected: "221 123 456,564 USD", + expected: "221 123 456,564 USD", }, { num: -221123456.5643, v: 3, currency: currency.USD, - expected: "-221 123 456,564 USD", + expected: "-221 123 456,564 USD", }, { num: -221123456.5643, v: 3, currency: currency.CAD, - expected: "-221 123 456,564 CAD", + expected: "-221 123 456,564 CAD", }, { num: -0, v: 2, currency: currency.USD, - expected: "0,00 USD", + expected: "0,00 USD", }, { num: -0, v: 2, currency: currency.CAD, - expected: "0,00 CAD", + expected: "0,00 CAD", }, { num: 1.23, v: 0, currency: currency.USD, - expected: "1,00 USD", + expected: "1,00 USD", }, }