library test suite for drop validation, fixed drop return structures
This commit is contained in:
8
build.rs
8
build.rs
@ -24,12 +24,12 @@ fn main() {
|
||||
println!("cargo:rerun-if-changed=tests/fixtures");
|
||||
println!("cargo:rerun-if-changed=Cargo.toml");
|
||||
|
||||
// File 1: src/tests.rs for #[pg_test]
|
||||
let pg_dest_path = Path::new("src/tests.rs");
|
||||
// File 1: src/tests/fixtures.rs for #[pg_test]
|
||||
let pg_dest_path = Path::new("src/tests/fixtures.rs");
|
||||
let mut pg_file = File::create(&pg_dest_path).unwrap();
|
||||
|
||||
// File 2: tests/tests.rs for standard #[test] integration
|
||||
let std_dest_path = Path::new("tests/tests.rs");
|
||||
// File 2: tests/fixtures.rs for standard #[test] integration
|
||||
let std_dest_path = Path::new("tests/fixtures.rs");
|
||||
let mut std_file = File::create(&std_dest_path).unwrap();
|
||||
|
||||
// Write headers
|
||||
|
||||
Reference in New Issue
Block a user