Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseReleaseData (0.15 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top