1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Simplify incomplete test helper and fix quoting problem

This commit is contained in:
Jonas Fonseca 2006-01-07 01:22:14 +01:00 committed by Jonas Fonseca
parent 2a11525d1a
commit bca330fcbd

View File

@ -43,8 +43,9 @@ test_expect_incomplete () {
y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/;
s/[^a-zA-Z0-9-]//g;')"
test_expect_code 1 "$desc" \
"sgml-parser --uri '$URI' --src '$src' --incomplete"
sgml-parser --uri "$URI" --src "$src" --incomplete
test_expect_success "$desc" \
"test $? = 1"
}
@ -354,7 +355,7 @@ test_expect_incomplete \
test_expect_incomplete \
'Check incomplete attribute quoted value. (II)' \
'<element attr='\''...'
"<element attr='..."
test_expect_incomplete \
'Check incomplete processing instruction. (I)' \