diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-12 15:51:26 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-12 15:51:26 -0500 |
commit | 1aa54fb6b45e8eea4604f8c8acaecb3bb9086fb4 (patch) | |
tree | 68a3d002da070d7dafbca7c2e73e6f307b1007c1 /tests/fixtures/mod.rs | |
parent | eb3f6dbccfc2f1c87ec3c38c78abc3337ceb3ccb (diff) | |
download | textmode-1aa54fb6b45e8eea4604f8c8acaecb3bb9086fb4.tar.gz textmode-1aa54fb6b45e8eea4604f8c8acaecb3bb9086fb4.zip |
add another test
Diffstat (limited to 'tests/fixtures/mod.rs')
-rw-r--r-- | tests/fixtures/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fixtures/mod.rs b/tests/fixtures/mod.rs index 766886c..61d9e04 100644 --- a/tests/fixtures/mod.rs +++ b/tests/fixtures/mod.rs @@ -2,7 +2,7 @@ use pty_process::Command as _; use std::io::Read as _; use std::os::unix::io::AsRawFd as _; -pub fn run_fixture<F>(name: &str, screenguard: bool, f: F) +pub fn run_fixture<F>(name: &str, features: &str, screenguard: bool, f: F) where F: FnOnce(&mut std::fs::File), { @@ -13,6 +13,7 @@ where .current_target() .manifest_path("tests/fixtures/bin/Cargo.toml") .target_dir(temp.path()) + .features(features) .run() .unwrap(); let mut cmd = run.command(); |