Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFormatDirEntry (0.16 sec)

  1. src/io/fs/format_test.go

    		got := FormatFileInfo(&test.input)
    		if got != test.wantFileInfo {
    			t.Errorf("%d: FormatFileInfo(%#v) = %q, want %q", i, test.input, got, test.wantFileInfo)
    		}
    	}
    }
    
    func TestFormatDirEntry(t *testing.T) {
    	for i, test := range formatTests {
    		got := FormatDirEntry(&test.input)
    		if got != test.wantDirEntry {
    			t.Errorf("%d: FormatDirEntry(%#v) = %q, want %q", i, test.input, got, test.wantDirEntry)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 17:59:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top