Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExpandPathsToFileVisitors (0.28 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/visitor_test.go

    	if err == nil || !strings.Contains(err.Error(), "visitor error") {
    		t.Fatal(err)
    	}
    	if len(test.Infos) != 6 {
    		t.Fatal(dump.Pretty(test.Infos))
    	}
    }
    
    func TestExpandPathsToFileVisitors(t *testing.T) {
    	// Define a directory structure that will be used for testing and create empty files
    	testDir := t.TempDir()
    	filePaths := []string{
    		filepath.Join(testDir, "0", "10.yaml"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top