diff --git a/car_test.go b/car_test.go index 8b6418a4..d93ff6b0 100644 --- a/car_test.go +++ b/car_test.go @@ -20,7 +20,7 @@ func ExampleCar() { // Freestyle Fwd // Automatic // Passenger car mini - // 1991 + // 1965 } func ExampleFaker_Car() { @@ -38,7 +38,7 @@ func ExampleFaker_Car() { // Freestyle Fwd // Automatic // Passenger car mini - // 1991 + // 1965 } func BenchmarkCar(b *testing.B) { diff --git a/internet_test.go b/internet_test.go index fdb61768..f1367a35 100644 --- a/internet_test.go +++ b/internet_test.go @@ -493,14 +493,14 @@ func ExampleFirefoxUserAgent() { Seed(11) fmt.Println(FirefoxUserAgent()) - // Output: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_10 rv:7.0) Gecko/1953-01-24 Firefox/36.0 + // Output: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_10 rv:7.0) Gecko/1915-01-24 Firefox/36.0 } func ExampleFaker_FirefoxUserAgent() { f := New(11) fmt.Println(f.FirefoxUserAgent()) - // Output: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_10 rv:7.0) Gecko/1953-01-24 Firefox/36.0 + // Output: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_10 rv:7.0) Gecko/1915-01-24 Firefox/36.0 } func BenchmarkFirefoxUserAgent(b *testing.B) { diff --git a/payment_test.go b/payment_test.go index 5beec073..815d95fd 100644 --- a/payment_test.go +++ b/payment_test.go @@ -104,7 +104,7 @@ func ExampleCreditCard() { // Output: // UnionPay // 4364599489953698 - // 02/24 + // 02/25 // 300 } @@ -119,7 +119,7 @@ func ExampleFaker_CreditCard() { // Output: // UnionPay // 4364599489953698 - // 02/24 + // 02/25 // 300 } @@ -222,14 +222,14 @@ func ExampleCreditCardExp() { Seed(11) fmt.Println(CreditCardExp()) - // Output: 06/30 + // Output: 06/31 } func ExampleFaker_CreditCardExp() { f := New(11) fmt.Println(f.CreditCardExp()) - // Output: 06/30 + // Output: 06/31 } func BenchmarkCreditCardExp(b *testing.B) { diff --git a/person_test.go b/person_test.go index 7a657bde..9bd14bba 100644 --- a/person_test.go +++ b/person_test.go @@ -245,7 +245,7 @@ func ExamplePerson() { // lamarkoelpin@heaney.biz // Maestro // 39800889982276 - // 01/29 + // 01/30 // 932 } @@ -309,7 +309,7 @@ func ExampleFaker_Person() { // lamarkoelpin@heaney.biz // Maestro // 39800889982276 - // 01/29 + // 01/30 // 932 } diff --git a/sql_test.go b/sql_test.go index 8f960d98..9b320774 100644 --- a/sql_test.go +++ b/sql_test.go @@ -25,7 +25,7 @@ func ExampleSQL() { fmt.Println(string(res)) // Output: - // INSERT INTO people (id, first_name, price, age, created_at) VALUES (1, 'Markus', 804.92, 21, '1989-01-30 07:58:01'),(2, 'Santino', 235.13, 40, '1926-07-07 22:25:40'); + // INSERT INTO people (id, first_name, price, age, created_at) VALUES (1, 'Markus', 804.92, 21, '1989-01-30 07:58:01'),(2, 'Santino', 235.13, 40, '1919-07-07 22:25:40'); } func ExampleFaker_SQL() { @@ -46,7 +46,7 @@ func ExampleFaker_SQL() { fmt.Println(string(res)) // Output: - // INSERT INTO people (id, first_name, price, age, created_at) VALUES (1, 'Markus', 804.92, 21, '1996-11-22 07:34:00'),(2, 'Anibal', 674.87, 60, '1973-01-03 11:07:53'); + // INSERT INTO people (id, first_name, price, age, created_at) VALUES (1, 'Markus', 804.92, 21, '1901-11-22 07:34:00'),(2, 'Anibal', 674.87, 60, '2006-01-03 11:07:53'); } func TestSQLJSON(t *testing.T) { diff --git a/struct_test.go b/struct_test.go index d95fb220..ef65419e 100644 --- a/struct_test.go +++ b/struct_test.go @@ -646,12 +646,12 @@ func TestStructToDateTime(t *testing.T) { { name: "Simple", observed: datetime.Simple.String(), - expected: "1953-01-24 13:00:35.820738079 +0000 UTC", + expected: "1915-01-24 13:00:35.820738079 +0000 UTC", }, { name: "Tag", observed: datetime.Tag.String(), - expected: "1902-02-10 22:06:24 +0000 UTC", + expected: "2023-02-10 22:06:24 +0000 UTC", }, { name: "TagCustom", @@ -676,12 +676,12 @@ func TestStructToDateTime(t *testing.T) { { name: "PointerSimple", observed: datetime.PointerSimple.String(), - expected: "1901-05-17 13:55:34.57634154 +0000 UTC", + expected: "1967-05-17 13:55:34.57634154 +0000 UTC", }, { name: "PointerTag", observed: datetime.PointerTag.String(), - expected: "1949-06-03 07:35:07 +0000 UTC", + expected: "1902-06-03 07:35:07 +0000 UTC", }, { name: "PointerTagCustom", diff --git a/time_test.go b/time_test.go index 8aa27ca9..acd372ef 100644 --- a/time_test.go +++ b/time_test.go @@ -10,14 +10,14 @@ func ExampleDate() { Seed(11) fmt.Println(Date()) - // Output: 1953-01-24 13:00:35.820738079 +0000 UTC + // Output: 1915-01-24 13:00:35.820738079 +0000 UTC } func ExampleFaker_Date() { f := New(11) fmt.Println(f.Date()) - // Output: 1953-01-24 13:00:35.820738079 +0000 UTC + // Output: 1915-01-24 13:00:35.820738079 +0000 UTC } func TestDateLookup(t *testing.T) { @@ -290,14 +290,14 @@ func ExampleYear() { Seed(11) fmt.Println(Year()) - // Output: 1953 + // Output: 1915 } func ExampleFaker_Year() { f := New(11) fmt.Println(f.Year()) - // Output: 1953 + // Output: 1915 } func BenchmarkYear(b *testing.B) {