Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseReleaseData (0.09 sec)

  1. cmd/update_test.go

    		}
    
    		if testCase.expectedResult != result {
    			t.Fatalf("result: expected: %v, got: %v", testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestParseReleaseData(t *testing.T) {
    	releaseTime, _ := releaseTagToReleaseTime("RELEASE.2016-10-07T01-16-39Z")
    	testCases := []struct {
    		data                string
    		expectedResult      time.Time
    		expectedSha256hex   string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top