<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>