diff options
author | Adrien <adrien@bustany.org> | 2017-06-26 20:32:39 +0200 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-06-26 14:32:39 -0400 |
commit | f404483834613fc1250b105461c68145f9543421 (patch) | |
tree | 330a0f60f44e48eb72da9f77f9d7b59d8d4ff896 | |
parent | 82b36b3721d6ee129d27c3fc3957d4e37643d4a6 (diff) | |
download | chat-f404483834613fc1250b105461c68145f9543421.tar.gz chat-f404483834613fc1250b105461c68145f9543421.tar.bz2 chat-f404483834613fc1250b105461c68145f9543421.zip |
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.
-rw-r--r-- | model/modeltestlib_test.go (renamed from model/modeltestlib.go) | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/model/modeltestlib.go b/model/modeltestlib_test.go index 2734b3ead..2734b3ead 100644 --- a/model/modeltestlib.go +++ b/model/modeltestlib_test.go |