From f404483834613fc1250b105461c68145f9543421 Mon Sep 17 00:00:00 2001 From: Adrien Date: Mon, 26 Jun 2017 20:32:39 +0200 Subject: [PATCH] platform/model: Don't pull in the "testing" package in normal builds (#6735) Rename all files importing the "testing" package in "platform/model" so that they only get compiled in test builds. This avoids the side effects of the testing package (notably, defining some command line flags with the "flags" package) for codebases importing the model package. --- model/{modeltestlib.go => modeltestlib_test.go} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename model/{modeltestlib.go => modeltestlib_test.go} (100%) diff --git a/model/modeltestlib.go b/model/modeltestlib_test.go similarity index 100% rename from model/modeltestlib.go rename to model/modeltestlib_test.go