Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReleaseTagToNFromTimeConversion (0.46 sec)

  1. cmd/update_test.go

    		if (err == nil) != testCase.isOfficial {
    			t.Errorf("Test %d: Expected %v but got %v",
    				i+1, testCase.isOfficial, err == nil)
    		}
    	}
    }
    
    func TestReleaseTagToNFromTimeConversion(t *testing.T) {
    	utcLoc, _ := time.LoadLocation("")
    	testCases := []struct {
    		t      time.Time
    		tag    string
    		errStr string
    	}{
    		{
    			time.Date(2017, time.September, 29, 19, 16, 56, 0, utcLoc),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top