Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseKey (0.08 sec)

  1. internal/store/store_test.go

    		if testCase.expectedString != testCase.key.String() {
    			t.Fatalf("case[%v]: key.String() Expected: %s, got %s", i, testCase.expectedString, testCase.key.String())
    		}
    	}
    }
    
    func TestParseKey(t *testing.T) {
    	testCases := []struct {
    		str         string
    		expectedKey Key
    	}{
    		{
    			str: "01894394-d046-4783-ba0d-f1c6885790dc.event",
    			expectedKey: Key{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top