Commit a690c2ca authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #22914 from liggitt/test_export

Auto commit by PR queue bot
parents d2216494 1d4c56c2
...@@ -16,8 +16,10 @@ limitations under the License. ...@@ -16,8 +16,10 @@ limitations under the License.
package container package container
// TestRunTimeCache embeds runtimeCache with some additional methods for // TestRunTimeCache embeds runtimeCache with some additional methods for testing.
// testing. // It must be declared in the container package to have visibility to runtimeCache.
// It cannot be in a "..._test.go" file in order for runtime_cache_test.go to have cross-package visibility to it.
// (cross-package declarations in test files cannot be used from dot imports if this package is vendored)
type TestRuntimeCache struct { type TestRuntimeCache struct {
runtimeCache runtimeCache
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment