Skip to content

Commit

Permalink
fixup! feat(config): Simplify config and data dir parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian committed Nov 26, 2018
1 parent 3101d46 commit a675482
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions script/src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,15 @@ mod tests {
use std::path::Path;

fn open_cell_verify() -> File {
File::open(Path::new(env!("CARGO_MANIFEST_DIR")).join("../nodes_template/spec/cells/verify"))
.unwrap()
File::open(
Path::new(env!("CARGO_MANIFEST_DIR")).join("../nodes_template/spec/cells/verify"),
).unwrap()
}
fn open_cell_always_success() -> File {
File::open(Path::new(env!("CARGO_MANIFEST_DIR")).join("../nodes_template/spec/cells/always_success"))
.unwrap()
File::open(
Path::new(env!("CARGO_MANIFEST_DIR"))
.join("../nodes_template/spec/cells/always_success"),
).unwrap()
}

#[test]
Expand Down

0 comments on commit a675482

Please sign in to comment.