Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for markChunks (0.27 sec)

  1. src/time/format_test.go

    			return -1
    		}
    		return r
    	}
    
    	for _, marked := range nextStdChunkTests {
    		// marked is an expected output from markChunks.
    		// If we delete the parens and pass it through markChunks,
    		// we should get the original back.
    		format := strings.Map(noParens, marked)
    		out := markChunks(format)
    		if out != marked {
    			t.Errorf("nextStdChunk parses %q as %q, want %q", format, out, marked)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top