diff --git a/go.mod b/go.mod index ed66b8e56b1ab20813ed88c7c636102a1f8d1473..8f2f4bf8f81fe5a91cc346f418a6d04b11d57273 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( gitlab.com/elixxir/comms v0.0.4-0.20201217200754-6259dc49e6f1 gitlab.com/elixxir/crypto v0.0.7-0.20201217200352-0ba771a66932 gitlab.com/elixxir/ekv v0.1.3 - gitlab.com/elixxir/primitives v0.0.3-0.20201217193438-8ebfc882f1de + gitlab.com/elixxir/primitives v0.0.3-0.20201218201429-1968e786f56d gitlab.com/xx_network/comms v0.0.4-0.20201217200138-87075d5b4ffd gitlab.com/xx_network/crypto v0.0.5-0.20201217195719-cc31e1d1eee3 gitlab.com/xx_network/primitives v0.0.4-0.20201216174909-808eb0fc97fc diff --git a/go.sum b/go.sum index bfe80b66945e8c8ef855a9b5799f9141da71f1de..367e661461c3bbb84b0838918912bf4f0f82860c 100644 --- a/go.sum +++ b/go.sum @@ -20,6 +20,8 @@ github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hC github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/badoux/checkmail v1.2.1 h1:TzwYx5pnsV6anJweMx2auXdekBwGr/yt1GgalIx9nBQ= +github.com/badoux/checkmail v1.2.1/go.mod h1:XroCOBU5zzZJcLvgwU15I+2xXyCdTWXyR9MGfRhBYy0= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= @@ -172,6 +174,8 @@ github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3Rllmb github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/nyaruka/phonenumbers v1.0.60 h1:nnAcNwmZflhegiImm6MkvjlRRyoaSw1ox/jGPAewWTg= +github.com/nyaruka/phonenumbers v1.0.60/go.mod h1:sDaTZ/KPX5f8qyV9qN+hIm+4ZBARJrupC6LuhshJq1U= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= @@ -262,10 +266,17 @@ gitlab.com/elixxir/ekv v0.1.3 h1:OE+LBMIhjGUMwc6hHJzYvEPNJQV7t1vMnJyIgxUMUo8= gitlab.com/elixxir/ekv v0.1.3/go.mod h1:e6WPUt97taFZe5PFLPb1Dupk7tqmDCTQu1kkstqJvw4= gitlab.com/elixxir/primitives v0.0.3-0.20201217193438-8ebfc882f1de h1:DxEMJ2GC9CTe9dQlmX5Zr6qtNm7MU74MtmWSJeXxrFw= gitlab.com/elixxir/primitives v0.0.3-0.20201217193438-8ebfc882f1de/go.mod h1:H1OZ6ZXzTB3G4nOEdJzBJ7BySRnivpJTkTphxazFCl4= +gitlab.com/elixxir/primitives v0.0.3-0.20201218200600-2b0e7beb8b44 h1:8IlLobZDS5HGK9NPH2S2NMTyF1mUpxJ3tcpFx11xpyY= +gitlab.com/elixxir/primitives v0.0.3-0.20201218200600-2b0e7beb8b44/go.mod h1:5Z8fce94mks0aFhMvzftx2jJpDx4/pzDU20G2oTiU9w= +gitlab.com/elixxir/primitives v0.0.3-0.20201218201313-2f013f24cd42 h1:+6ukLhotf7jHWKwXuP4TU8UoUGgBZstdm86tNMDCmTA= +gitlab.com/elixxir/primitives v0.0.3-0.20201218201313-2f013f24cd42/go.mod h1:5Z8fce94mks0aFhMvzftx2jJpDx4/pzDU20G2oTiU9w= +gitlab.com/elixxir/primitives v0.0.3-0.20201218201429-1968e786f56d h1:B/oQ/gKkYs8+TAKUc6PMrcGIciES3CCaF3OGhe5GJ+M= +gitlab.com/elixxir/primitives v0.0.3-0.20201218201429-1968e786f56d/go.mod h1:5Z8fce94mks0aFhMvzftx2jJpDx4/pzDU20G2oTiU9w= gitlab.com/xx_network/comms v0.0.4-0.20201217200138-87075d5b4ffd h1:4LjS3UuBNA/AaglIJ+k1IBoxYgCWt+FM1MPYxjAFfaQ= gitlab.com/xx_network/comms v0.0.4-0.20201217200138-87075d5b4ffd/go.mod h1:/vIk6tSrDqk/7HZOdrbSXZT+kEL43HIoz60AoZTzTXg= gitlab.com/xx_network/crypto v0.0.5-0.20201217195719-cc31e1d1eee3 h1:xXJAkvhHZl5CUX8/9rqe8hod5FbqZrxwMuT8cG48Mxs= gitlab.com/xx_network/crypto v0.0.5-0.20201217195719-cc31e1d1eee3/go.mod h1:iHCS8UOFndbXivLTeIarxN8TKbi3NcanZj29KtMzs2o= +gitlab.com/xx_network/primitives v0.0.3/go.mod h1:cs0QlFpdMDI6lAo61lDRH2JZz+3aVkHy+QogOB6F/qc= gitlab.com/xx_network/primitives v0.0.4-0.20201216174909-808eb0fc97fc h1:nZ0kNhQfkEr4TIpf1MQxOIWiSd1M1YTE2JrFA1SPSD4= gitlab.com/xx_network/primitives v0.0.4-0.20201216174909-808eb0fc97fc/go.mod h1:cs0QlFpdMDI6lAo61lDRH2JZz+3aVkHy+QogOB6F/qc= gitlab.com/xx_network/ring v0.0.2 h1:TlPjlbFdhtJrwvRgIg4ScdngMTaynx/ByHBRZiXCoL0= diff --git a/ud/addFact_test.go b/ud/addFact_test.go index 22f2fd09a79b2234d808a8093ffcac9170b5a3c6..505115bdb783fc6ae1fd59b1d6d8c281f3fb13fb 100644 --- a/ud/addFact_test.go +++ b/ud/addFact_test.go @@ -41,9 +41,12 @@ func TestAddFact(t *testing.T) { registered:&isReg, } + // Create our test fact + USCountryCode := "US" + USNumber := "6502530000" f := fact.Fact{ - Fact: "testing", + Fact: USNumber + USCountryCode, T: 2, }