aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/018.sh
blob: cc02105fcbabbf11a1d31987e5dc7567a94cf78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
set -e

touch expected
bash ../../test_diff.sh <<'EOF'
int main() {
    "";
    return 0;
}
EOF

touch expected
bash ../../test_diff.sh <<'EOF'
int main() {
    "abc";
    return 0;
}
EOF

touch expected
bash ../../test_diff.sh <<'EOF'
int main() {
    "\"foo\"bar\\\n\"";
    return 0;
}
EOF