cast icon indicating copy to clipboard operation
cast copied to clipboard

Tests are not passed

Open ashep opened this issue 3 years ago • 0 comments

 git clone https://github.com/spf13/cast && cd cast && go test .
go: downloading github.com/stretchr/testify v1.2.2
--- FAIL: TestToTimeWithTimezones (0.02s)
    --- FAIL: TestToTimeWithTimezones/3;timeFormatType=1;Mon,_02_Jan_2006_15:04:05_MST (0.00s)
        --- FAIL: TestToTimeWithTimezones/3;timeFormatType=1;Mon,_02_Jan_2006_15:04:05_MST/local_timezone_without_a_default_location (0.00s)
            require.go:157:
                	Error Trace:	cast_test.go:1428
                	            				cast_test.go:1358
                	Error:      	Not equal:
                	            	expected: "Fri, 01 Jan 2016 00:00:00 +0000"
                	            	actual  : "Fri, 01 Jan 2016 01:00:00 +0000"

                	            	Diff:
                	            	--- Expected
                	            	+++ Actual
                	            	@@ -1 +1 @@
                	            	-Fri, 01 Jan 2016 00:00:00 +0000
                	            	+Fri, 01 Jan 2016 01:00:00 +0000
                	Test:       	TestToTimeWithTimezones/3;timeFormatType=1;Mon,_02_Jan_2006_15:04:05_MST/local_timezone_without_a_default_location
        --- FAIL: TestToTimeWithTimezones/3;timeFormatType=1;Mon,_02_Jan_2006_15:04:05_MST/time_in_the_local_timezone_default_location_not_UTC (0.00s)
            require.go:157:
                	Error Trace:	cast_test.go:1428
                	            				cast_test.go:1411
                	Error:      	Not equal:
                	            	expected: "Fri, 01 Jan 2016 00:00:00 +0330"
                	            	actual  : "Fri, 01 Jan 2016 01:00:00 +0330"

                	            	Diff:
                	            	--- Expected
                	            	+++ Actual
                	            	@@ -1 +1 @@
                	            	-Fri, 01 Jan 2016 00:00:00 +0330
                	            	+Fri, 01 Jan 2016 01:00:00 +0330
                	Test:       	TestToTimeWithTimezones/3;timeFormatType=1;Mon,_02_Jan_2006_15:04:05_MST/time_in_the_local_timezone_default_location_not_UTC
    --- FAIL: TestToTimeWithTimezones/5;timeFormatType=1;02_Jan_06_15:04_MST (0.00s)
        --- FAIL: TestToTimeWithTimezones/5;timeFormatType=1;02_Jan_06_15:04_MST/local_timezone_without_a_default_location (0.00s)
            require.go:157:
                	Error Trace:	cast_test.go:1428
                	            				cast_test.go:1358
                	Error:      	Not equal:
                	            	expected: "Fri, 01 Jan 2016 00:00:00 +0000"
                	            	actual  : "Fri, 01 Jan 2016 01:00:00 +0000"

                	            	Diff:
                	            	--- Expected
                	            	+++ Actual
                	            	@@ -1 +1 @@
                	            	-Fri, 01 Jan 2016 00:00:00 +0000
                	            	+Fri, 01 Jan 2016 01:00:00 +0000
                	Test:       	TestToTimeWithTimezones/5;timeFormatType=1;02_Jan_06_15:04_MST/local_timezone_without_a_default_location
        --- FAIL: TestToTimeWithTimezones/5;timeFormatType=1;02_Jan_06_15:04_MST/time_in_the_local_timezone_default_location_not_UTC (0.00s)
            require.go:157:
                	Error Trace:	cast_test.go:1428
                	            				cast_test.go:1411
                	Error:      	Not equal:
                	            	expected: "Fri, 01 Jan 2016 00:00:00 +0330"
                	            	actual  : "Fri, 01 Jan 2016 01:00:00 +0330"

                	            	Diff:
                	            	--- Expected
                	            	+++ Actual
                	            	@@ -1 +1 @@
                	            	-Fri, 01 Jan 2016 00:00:00 +0330
                	            	+Fri, 01 Jan 2016 01:00:00 +0330
                	Test:       	TestToTimeWithTimezones/5;timeFormatType=1;02_Jan_06_15:04_MST/time_in_the_local_timezone_default_location_not_UTC
    --- FAIL: TestToTimeWithTimezones/6;timeFormatType=1;Monday,_02-Jan-06_15:04:05_MST (0.00s)
        --- FAIL: TestToTimeWithTimezones/6;timeFormatType=1;Monday,_02-Jan-06_15:04:05_MST/local_timezone_without_a_default_location (0.00s)
            require.go:157:
                	Error Trace:	cast_test.go:1428
                	            				cast_test.go:1358
                	Error:      	Not equal:
                	            	expected: "Fri, 01 Jan 2016 00:00:00 +0000"
                	            	actual  : "Fri, 01 Jan 2016 01:00:00 +0000"

                	            	Diff:
                	            	--- Expected
                	            	+++ Actual
                	            	@@ -1 +1 @@
                	            	-Fri, 01 Jan 2016 00:00:00 +0000
                	            	+Fri, 01 Jan 2016 01:00:00 +0000
                	Test:       	TestToTimeWithTimezones/6;timeFormatType=1;Monday,_02-Jan-06_15:04:05_MST/local_timezone_without_a_default_location
        --- FAIL: TestToTimeWithTimezones/6;timeFormatType=1;Monday,_02-Jan-06_15:04:05_MST/time_in_the_local_timezone_default_location_not_UTC (0.00s)
            require.go:157:
                	Error Trace:	cast_test.go:1428
                	            				cast_test.go:1411
                	Error:      	Not equal:
                	            	expected: "Fri, 01 Jan 2016 00:00:00 +0330"
                	            	actual  : "Fri, 01 Jan 2016 01:00:00 +0330"

                	            	Diff:
                	            	--- Expected
                	            	+++ Actual
                	            	@@ -1 +1 @@
                	            	-Fri, 01 Jan 2016 00:00:00 +0330
                	            	+Fri, 01 Jan 2016 01:00:00 +0330
                	Test:       	TestToTimeWithTimezones/6;timeFormatType=1;Monday,_02-Jan-06_15:04:05_MST/time_in_the_local_timezone_default_location_not_UTC
    --- FAIL: TestToTimeWithTimezones/12;timeFormatType=1;Mon_Jan__2_15:04:05_MST_2006 (0.00s)
        --- FAIL: TestToTimeWithTimezones/12;timeFormatType=1;Mon_Jan__2_15:04:05_MST_2006/local_timezone_without_a_default_location (0.00s)
            require.go:157:
                	Error Trace:	cast_test.go:1428
                	            				cast_test.go:1358
                	Error:      	Not equal:
                	            	expected: "Fri, 01 Jan 2016 00:00:00 +0000"
                	            	actual  : "Fri, 01 Jan 2016 01:00:00 +0000"

                	            	Diff:
                	            	--- Expected
                	            	+++ Actual
                	            	@@ -1 +1 @@
                	            	-Fri, 01 Jan 2016 00:00:00 +0000
                	            	+Fri, 01 Jan 2016 01:00:00 +0000
                	Test:       	TestToTimeWithTimezones/12;timeFormatType=1;Mon_Jan__2_15:04:05_MST_2006/local_timezone_without_a_default_location
        --- FAIL: TestToTimeWithTimezones/12;timeFormatType=1;Mon_Jan__2_15:04:05_MST_2006/time_in_the_local_timezone_default_location_not_UTC (0.00s)
            require.go:157:
                	Error Trace:	cast_test.go:1428
                	            				cast_test.go:1411
                	Error:      	Not equal:
                	            	expected: "Fri, 01 Jan 2016 00:00:00 +0330"
                	            	actual  : "Fri, 01 Jan 2016 01:00:00 +0330"

                	            	Diff:
                	            	--- Expected
                	            	+++ Actual
                	            	@@ -1 +1 @@
                	            	-Fri, 01 Jan 2016 00:00:00 +0330
                	            	+Fri, 01 Jan 2016 01:00:00 +0330
                	Test:       	TestToTimeWithTimezones/12;timeFormatType=1;Mon_Jan__2_15:04:05_MST_2006/time_in_the_local_timezone_default_location_not_UTC
FAIL
FAIL	github.com/spf13/cast	0.261s
FAIL

ashep avatar Aug 21 '21 12:08 ashep