<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Using @testable makes sense to me. Let's try it out.&nbsp;<br><br>- Tony</div><div><br>On Mar 15, 2016, at 7:54 AM, Robert Stephen Thompson via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org">swift-corelibs-dev@swift.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8">If it doesn’t use it on Linux, it’s because I was mostly running tests in Xcode heh, and didn’t end up needing it in the end. On Linux, of course, I think you’d want @testable import Foundation. I’m not an Apple guy, though, I just happen to be the guy who wrote TestNSXMLDocument.swift! So if there is actually a reason not to use it, I’m not aware of it, but don’t necessarily take my word for it!<div class=""><br class=""></div><div class="">Thanks,</div><div class="">Robert Thompson</div><div class=""><div class="">Software Engineer</div><div class="">WillowTree, Inc.®</div><div class=""><a href="http://willowtreeapps.com" target="_blank" class="">willowtreeapps.com</a></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Mar 15, 2016, at 8:02 AM, Daniel Eggert via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Is it ok to use<br class=""> &nbsp;&nbsp;&nbsp;@testable import SwiftFoundation<br class="">in tests? I'd like to test some internal code.<br class=""><br class="">TestNSXMLDocument.swift uses this, but not on Linux. What's the reason for this?<br class=""><br class="">/Daniel<br class=""><br class="">_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-corelibs-dev mailing list</span><br><span><a href="mailto:swift-corelibs-dev@swift.org">swift-corelibs-dev@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a></span><br></div></blockquote></body></html>