aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-13 19:55:56 +0900
committernsfisis <nsfisis@gmail.com>2025-08-15 10:04:20 +0900
commit286a9b6254e88ac5ee6537ef3a11db8060ce06c5 (patch)
treefeeb5707a3b3e79c882d21536406aedb2cf322f7 /tests
parent64a77c44a5316c19bbc2486e462095f36c718314 (diff)
downloadducc-286a9b6254e88ac5ee6537ef3a11db8060ce06c5.tar.gz
ducc-286a9b6254e88ac5ee6537ef3a11db8060ce06c5.tar.zst
ducc-286a9b6254e88ac5ee6537ef3a11db8060ce06c5.zip
feat: implement single line comment
Diffstat (limited to 'tests')
-rw-r--r--tests/052.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/052.sh b/tests/052.sh
new file mode 100644
index 0000000..df479d3
--- /dev/null
+++ b/tests/052.sh
@@ -0,0 +1,11 @@
+set -e
+
+cat <<'EOF' > expected
+EOF
+bash ../../test_diff.sh <<'EOF'
+// TODO: check if the token is at the beginning of line.
+// TODO: check if skipped whitespaces do not contain line breaks.
+int main() {
+ return 0;
+}
+EOF