]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vcs/t/expected-words-nonwords-spaces.txt
Move to vcs/ in preparation for merge into new dotfiles repository
[config/dotfiles.git] / vcs / t / expected-words-nonwords-spaces.txt
diff --git a/vcs/t/expected-words-nonwords-spaces.txt b/vcs/t/expected-words-nonwords-spaces.txt
new file mode 100644 (file)
index 0000000..cbc70dc
--- /dev/null
@@ -0,0 +1,31 @@
+diff --git a/test.txt b/test.txt
+--- a/test.txt
++++ b/test.txt
+@@ -1,26 +1,27 @@
+Tests
+[-=====-]{+====+}
+
+[-Simple-]{+Short+} sentence with [-a few -]words[-.-]{+!+}
+
+Longer sentence [-with -]even more words[- .. -]{+, +}ain't that nice[-?-]{+!+}
+
+And [-another-]{+other+} one, just testing.
+
+option: {+new +}value
+option-two: {+new-+}value-two
+option-three[-: -]{+: "+}value-three{+"+}
+
+function testme() {
+    [-first_call-]{+firstCall+}();
+    [-if-]{+while+} (a[- == -]{+ != +}b) {
+        if (![-second_call()) {-]{+second_var) {+}
+            third_call{+() && fourth_call() \+}
+{+                || fifth_call+}();
+        }
+    }
+    return 42;
+}
+
+allow[- = $! $? $.-]{+ = $0 $! $? $.+}
+allow[- = $! $? $.-]{+ = $! $?+}
+allow[- = $! $? $.-]{+ = $0 $! $?+}