64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
$OpenBSD: patch-test_remove-trailing-ws_test,v 1.1 2014/01/09 14:55:42 jca Exp $
|
|
--- test/remove-trailing-ws.test.orig Fri Dec 13 17:38:41 2013
|
|
+++ test/remove-trailing-ws.test Fri Dec 13 17:50:26 2013
|
|
@@ -134,21 +134,21 @@ $ %{QUILT_DIR}/scripts/remove-trailing-ws < unified.di
|
|
> Removing trailing whitespace from lines 12,16 of files/complex
|
|
> Removing trailing whitespace from lines 1,2,3 of files/create
|
|
$ wc -l files/add
|
|
-> 8 files/add
|
|
+>~ (\s+)?8 files/add
|
|
$ wc -l files/change
|
|
-> 3 files/change
|
|
+>~ (\s+)?3 files/change
|
|
$ wc -l files/complex
|
|
-> 21 files/complex
|
|
+>~ (\s+)?21 files/complex
|
|
$ wc -l files/create
|
|
-> 3 files/create
|
|
+>~ (\s+)?3 files/create
|
|
$ wc -l files/remove
|
|
-> 6 files/remove
|
|
+>~ (\s+)?6 files/remove
|
|
$ wc -l files/remove-at-end
|
|
-> 8 files/remove-at-end
|
|
+>~ (\s+)?8 files/remove-at-end
|
|
$ wc -l unified.diff
|
|
-> 85 unified.diff
|
|
+>~ (\s+)?85 unified.diff
|
|
$ wc -l unified-wsok.diff
|
|
-> 85 unified-wsok.diff
|
|
+>~ (\s+)?85 unified-wsok.diff
|
|
$ diff -u unified.diff unified-wsok.diff | grep '^++[^+]'
|
|
> ++Line 4
|
|
> ++to
|
|
@@ -167,21 +167,21 @@ $ %{QUILT_DIR}/scripts/remove-trailing-ws < context.di
|
|
> Removing trailing whitespace from lines 12,16 of files/complex
|
|
> Removing trailing whitespace from lines 1,2,3 of files/create
|
|
$ wc -l files/add
|
|
-> 8 files/add
|
|
+>~ (\s+)?8 files/add
|
|
$ wc -l files/change
|
|
-> 3 files/change
|
|
+>~ (\s+)?3 files/change
|
|
$ wc -l files/complex
|
|
-> 21 files/complex
|
|
+>~ (\s+)?21 files/complex
|
|
$ wc -l files/create
|
|
-> 3 files/create
|
|
+>~ (\s+)?3 files/create
|
|
$ wc -l files/remove
|
|
-> 6 files/remove
|
|
+>~ (\s+)?6 files/remove
|
|
$ wc -l files/remove-at-end
|
|
-> 8 files/remove-at-end
|
|
+>~ (\s+)?8 files/remove-at-end
|
|
$ wc -l context.diff
|
|
-> 104 context.diff
|
|
+>~ (\s+)?104 context.diff
|
|
$ wc -l context-wsok.diff
|
|
-> 104 context-wsok.diff
|
|
+>~ (\s+)?104 context-wsok.diff
|
|
$ diff -u context.diff context-wsok.diff | grep '^+[+!] '
|
|
> ++ Line 4
|
|
> ++ create
|