blob: 7a438320a6dad48f9c48b854f058264b315dce25 (
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
|
cat <<'EOF' > expected
EOF
test_diff <<'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
cat <<'EOF' > expected
EOF
test_diff <<'EOF'
/* lorem ipsum */
/*
lorem ipsum
*/
// /*
/* /*
*/
int/**/main() {
}
EOF
|