storkit: merge 361_story_remove_deprecated_manual_qa_front_matter_field
This commit is contained in:
@@ -254,9 +254,10 @@ mod tests {
|
||||
fn run_project_tests_uses_script_test_when_present_and_passes() {
|
||||
use std::fs;
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
use tempfile::tempdir;
|
||||
|
||||
let tmp = tempdir().unwrap();
|
||||
let tmp = tempfile::Builder::new()
|
||||
.tempdir_in(env!("CARGO_MANIFEST_DIR"))
|
||||
.unwrap();
|
||||
let path = tmp.path();
|
||||
let script_dir = path.join("script");
|
||||
fs::create_dir_all(&script_dir).unwrap();
|
||||
@@ -276,9 +277,10 @@ mod tests {
|
||||
fn run_project_tests_reports_failure_when_script_test_exits_nonzero() {
|
||||
use std::fs;
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
use tempfile::tempdir;
|
||||
|
||||
let tmp = tempdir().unwrap();
|
||||
let tmp = tempfile::Builder::new()
|
||||
.tempdir_in(env!("CARGO_MANIFEST_DIR"))
|
||||
.unwrap();
|
||||
let path = tmp.path();
|
||||
let script_dir = path.join("script");
|
||||
fs::create_dir_all(&script_dir).unwrap();
|
||||
@@ -313,9 +315,10 @@ mod tests {
|
||||
fn coverage_gate_passes_when_script_exits_zero() {
|
||||
use std::fs;
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
use tempfile::tempdir;
|
||||
|
||||
let tmp = tempdir().unwrap();
|
||||
let tmp = tempfile::Builder::new()
|
||||
.tempdir_in(env!("CARGO_MANIFEST_DIR"))
|
||||
.unwrap();
|
||||
let path = tmp.path();
|
||||
let script_dir = path.join("script");
|
||||
fs::create_dir_all(&script_dir).unwrap();
|
||||
@@ -342,9 +345,10 @@ mod tests {
|
||||
fn coverage_gate_fails_when_script_exits_nonzero() {
|
||||
use std::fs;
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
use tempfile::tempdir;
|
||||
|
||||
let tmp = tempdir().unwrap();
|
||||
let tmp = tempfile::Builder::new()
|
||||
.tempdir_in(env!("CARGO_MANIFEST_DIR"))
|
||||
.unwrap();
|
||||
let path = tmp.path();
|
||||
let script_dir = path.join("script");
|
||||
fs::create_dir_all(&script_dir).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user