]> git.proxmox.com Git - cargo.git/commit
Remove the src/test.rs implicit test.
authorHuon Wilson <dbau.pp+github@gmail.com>
Sun, 13 Jul 2014 12:45:26 +0000 (22:45 +1000)
committerHuon Wilson <dbau.pp+github@gmail.com>
Sun, 13 Jul 2014 12:48:45 +0000 (22:48 +1000)
commit22c254af74a78039f5b8cc6238494efb09136643
treec54858d000d3e2c10b5330007949c3fb05708cec
parenta1784a834496722b1249f490573f14355c06dc2f
Remove the src/test.rs implicit test.

It's not unreasonable to have unittests in a separate submodule of the
crate (being called `test` or `tests`), and having them in their own
file can be very sensible. Thus, the `src/test.rs` implicit default is
likely to trip up some perfectly reasonable use-cases. There's already
the `tests/...` default, so repairing a codebase after this removal is
just moving `src/test.rs` to `tests/whatever_name_you_want.rs`.

Closes #187.
src/cargo/util/toml.rs
tests/test_cargo_test.rs