qitab / cl-protobufs

Common Lisp protocol buffer implementation.
MIT License
84 stars 18 forks source link

Don't :use packages in test code #231

Closed copybara-service[bot] closed 4 years ago

copybara-service[bot] commented 4 years ago

Don't :use packages in test code

I started work on a different PR and ran into name conflicts with the test code because it uses :use to import cl-protobufs and the generated code for test protos.

Let's not do that. Besides potential for more conflicts, it reduces the overall clarity of the code in my opinion. This PR removes :use from several tests and imports the test protos with package local nickname "pb", for brevity. This is short, but it should be clear if the same pattern is followed in all the tests. I'll convert more as time permits.

Also: