mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-24 22:26:04 +03:00
use ISO code for Mexican peso (#25)
This commit is contained in:
parent
6ae7bdc9a3
commit
92cf5fa5f0
@ -61,7 +61,6 @@ var defaultCurrencies = map[string]string{
|
||||
"cop": "COL$",
|
||||
"crc": "₡",
|
||||
"cup": "$MN",
|
||||
"mxn": "NP$",
|
||||
"nio": "C$",
|
||||
"pab": "B/",
|
||||
"pyg": "₲",
|
||||
|
@ -252,6 +252,7 @@ func TestUtils_GetCurrencySymbol(t *testing.T) {
|
||||
}
|
||||
|
||||
assert.Equal(t, "XAG", GetCurrencySymbol("xag"))
|
||||
assert.Equal(t, "MXN", GetCurrencySymbol("mxn"))
|
||||
}
|
||||
|
||||
func TestUtils_ReplaceMarkdownSymbols(t *testing.T) {
|
||||
|
2
go.mod
2
go.mod
@ -5,7 +5,7 @@ go 1.12
|
||||
require (
|
||||
github.com/DATA-DOG/go-sqlmock v1.3.3
|
||||
github.com/aws/aws-sdk-go v1.25.14
|
||||
github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054
|
||||
github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054 // indirect
|
||||
github.com/denisenkom/go-mssqldb v0.0.0-20190830225923-3302f0226fbd // indirect
|
||||
github.com/getsentry/raven-go v0.2.0
|
||||
github.com/gin-contrib/multitemplate v0.0.0-20190914010127-bba2ccfe37ec
|
||||
|
Loading…
Reference in New Issue
Block a user