]> git.lizzy.rs Git - rust.git/commit
auto merge of #5895 : huonw/rust/no-pub-tests, r=thestinger
authorbors <bors@rust-lang.org>
Tue, 16 Apr 2013 03:00:56 +0000 (20:00 -0700)
committerbors <bors@rust-lang.org>
Tue, 16 Apr 2013 03:00:56 +0000 (20:00 -0700)
commit16e8af9e477fd5a6e7dcf668840144a97e3b1410
tree0aadb938c2b293f149e4501fb26b5da5e6a818c1
parent447caf9bdb8b769581fcd8c337634da431d21954
parent40e3577b0834794b2d44e6c527fda90d1adbc88e
auto merge of #5895 : huonw/rust/no-pub-tests, r=thestinger

This patch is a sledge hammer that moves all tests into `#[cfg(test)] mod test { .. }`, and makes them private, there were several instances of `pub mod tests { #[test] pub fn ... } `.

(The reason for this is I was playing with using `syntax` to index code ([result so far](http://www.ug.it.usyd.edu.au/~hwil7821/rust-api/)) and it was getting some junk from the tests.)

The rustdoc commit is particularly brutal, so it's fine if that one isn't landed.
src/libstd/base64.rs