aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/string_operations.sh16
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/string_operations.sh b/tests/string_operations.sh
index 0c9a07e..2466145 100644
--- a/tests/string_operations.sh
+++ b/tests/string_operations.sh
@@ -23,6 +23,21 @@ int main() {
EOF
cat <<'EOF' > expected
+abc
+defghijkl
+EOF
+
+test_diff <<'EOF'
+int printf();
+
+int main() {
+ printf("abc\n");
+ printf("def" "ghi"
+ "jkl\n");
+}
+EOF
+
+cat <<'EOF' > expected
h
l
,
@@ -54,4 +69,3 @@ int main() {
}
}
EOF
-