MCPcopy Index your code
hub / github.com/devspace-sh/devspace / makeDeepTestCases

Function makeDeepTestCases

pkg/devspace/sync/sync_test.go:522–538  ·  view source on GitHub ↗
(testCases testCaseList)

Source from the content-addressed store, hash-verified

520}
521
522func makeDeepTestCases(testCases testCaseList) testCaseList {
523 for _, f := range testCases {
524 if f.path == "testFolder" {
525 continue
526 }
527
528 deepEquivalent := checkedFileOrFolder{
529 path: filepath.Join("testFolder", f.path),
530 shouldExistInLocal: f.shouldExistInLocal,
531 shouldExistInRemote: f.shouldExistInRemote,
532 editLocation: f.editLocation,
533 }
534 testCases = append(testCases, deepEquivalent)
535 }
536
537 return testCases
538}
539
540func makeSymLinkTestCases(testCases testCaseList) testCaseList {
541 for _, f := range testCases {

Callers 2

makeBasicTestCasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected