Skip to content

Commit 26f197d

Browse files
authored
Merge pull request #423 from rustcoreutils/mailx-updates
[mailx] improve testing
2 parents 6729f9e + 2186dd4 commit 26f197d

File tree

7 files changed

+259
-271
lines changed

7 files changed

+259
-271
lines changed

mailx/compare-macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fi
3232
REPO_ROOT="$(cd "$MAILX_DIR/.." && pwd)"
3333

3434
# Test data file
35-
TESTDATA="$MAILX_DIR/tests/cli/testdata.mbox"
35+
TESTDATA="$MAILX_DIR/tests/testdata.mbox"
3636

3737
# Check prerequisites
3838
if [[ ! -f /usr/bin/mailx ]]; then

mailx/tests/cli/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ use tempfile::NamedTempFile;
3030
// Test Data Helpers
3131
// =============================================================================
3232

33-
/// Get path to static test data file
33+
/// Get path to static test data file in tests/ directory
3434
fn test_data_path(filename: &str) -> PathBuf {
3535
let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
3636
path.push("tests");
37-
path.push("cli");
3837
path.push(filename);
3938
path
4039
}

0 commit comments

Comments
 (0)