Compare commits

1 Commits

Author SHA1 Message Date
Sylvestre Ledru fe605ff853 ed_diff::tests::test_permutations: disable temporary tests on Windows 2024-04-21 15:52:52 +02:00
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -178,6 +178,7 @@ mod tests {
}
#[test]
#[cfg(not(windows))]
fn test_permutations() {
let target = "target/ed-diff/";
// test all possible six-line files.
@@ -258,6 +259,7 @@ mod tests {
}
#[test]
#[cfg(not(windows))]
fn test_permutations_empty_lines() {
let target = "target/ed-diff/";
// test all possible six-line files with missing newlines.
@@ -332,6 +334,7 @@ mod tests {
}
#[test]
#[cfg(not(windows))]
fn test_permutations_reverse() {
let target = "target/ed-diff/";
// test all possible six-line files.
+1 -1
View File
@@ -2,7 +2,7 @@
// considering datetime varitations
//
// It replaces the modification time in the actual diff
// with placeholder "TIMESTAMP" and then asserts the equality
// with placeholer "TIMESTAMP" and then asserts the equality
//
// For eg.
// let brief = "*** fruits_old.txt\t2024-03-24 23:43:05.189597645 +0530\n
+1 -1
View File
@@ -19,7 +19,7 @@
# By default it expects a release build of the diffutils binary, but a
# different build profile can be specified as an argument
# (e.g. 'dev' or 'test').
# Unless overridden by the $TESTS environment variable, all tests in the test
# Unless overriden by the $TESTS environment variable, all tests in the test
# suite will be run. Tests targeting a command that is not yet implemented
# (e.g. cmp, diff3 or sdiff) are skipped.