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