Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FixTabsOrDie (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    	myCRDV1Beta1: "MyCoolCRD",
    }
    
    // FixTabsOrDie counts the number of tab characters preceding the first
    // line in the given yaml object. It removes that many tabs from every
    // line. It panics (it's a test function) if some line has fewer tabs
    // than the first line.
    //
    // The purpose of this is to make it easier to read tests.
    func FixTabsOrDie(in string) string {
    	lines := bytes.Split([]byte(in), []byte{'\n'})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			}
    		})
    	}
    }
    
    // FixTabsOrDie counts the number of tab characters preceding the first
    // line in the given yaml object. It removes that many tabs from every
    // line. It panics (it's a test funvion) if some line has fewer tabs
    // than the first line.
    //
    // The purpose of this is to make it easier to read tests.
    func FixTabsOrDie(in string) string {
    	lines := bytes.Split([]byte(in), []byte{'\n'})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top