@@@ misc wip
[mLib] / test / tests.at
index 9f6424b..7489420 100644 (file)
@@ -313,8 +313,9 @@ test_parse([text], ["foo" @%:@newline "bar" @%:@newline], [
 
 test_parserr([text], [],
        [4], [syntax error: expected string but found @%:@eof])
-test_parse([text], [""], [""])
-test_parse([text], [''], [""])
+test_parse([bytes], [@%:@empty], [@%:@empty ; = ""])
+test_parse([bytes], [""], [@%:@empty ; = ""])
+test_parse([bytes], [''], [@%:@empty ; = ""])
 
 test_parse([text], ["f\x{6f}o"], [foo])
 
@@ -323,7 +324,8 @@ AT_CLEANUP
 ###--------------------------------------------------------------------------
 AT_SETUP([tvec type-bytes])
 
-test_parse([bytes], [""], ["" ; empty])
+test_parse([bytes], [@%:@empty], [@%:@empty ; = ""])
+test_parse([bytes], [""], [@%:@empty ; = ""])
 test_parse([bytes], [61], [61 ; a])
 test_parse([bytes], ["abc"], [616263 ; abc])
 test_parse([bytes], ["abcd"], [61626364 ; abcd])