Skip to content

Commit

Permalink
fix cargo_compile_path_deps
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed May 20, 2016
1 parent 1c991f8 commit f2eb995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cargo_compile_path_deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ test!(nested_deps_recompile {
name = "bar"
"#)
.file("src/bar/src/bar.rs", "pub fn gimme() {}");
.file("src/bar/src/bar.rs", "pub fn gimme() -> i32 { 92 }");
let bar = p.url();

assert_that(p.cargo_process("build"),
Expand Down Expand Up @@ -722,7 +722,7 @@ test!(dev_deps_no_rebuild_lib {
"#)
.file("src/lib.rs", r#"
#[cfg(test)] extern crate bar;
#[cfg(not(test))] fn foo() { env!("FOO"); }
#[cfg(not(test))] pub fn foo() { env!("FOO"); }
"#)
.file("bar/Cargo.toml", r#"
[package]
Expand Down

0 comments on commit f2eb995

Please sign in to comment.