Branch
Hash :
5507a1f5
Author :
Thomas de Grivel
Date :
2025-09-17T00:24:13
fix pdf tests
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
quote require PDF
require PDF
quote PDF.parse_str(" 123 ")
PDF.parse_str(" 123 ")
quote PDF.parse_str("(Hello \\n World)")
PDF.parse_str("(Hello \\n World)")
quote PDF.parse_str("(Tab\\tTest)")
PDF.parse_str("(Tab\\tTest)")
quote PDF.parse_str("(Quote\\\"Test)")
PDF.parse_str("(Quote\\\"Test)")
quote PDF.parse_str("(Backslash\\\\Test)")
PDF.parse_str("(Backslash\\\\Test)")
quote PDF.parse_str("(\\101\\102\\103)")
PDF.parse_str("(\\101\\102\\103)")
quote PDF.parse_str("(outer \\(inner\\) text)")
PDF.parse_str("(outer \\(inner\\) text)")
quote PDF.parse_str("<41 42 43 44>")
PDF.parse_str("<41 42 43 44>")
quote PDF.parse_str("/VeryLongNameWithManyCharactersToTestParsing")
PDF.parse_str("/VeryLongNameWithManyCharactersToTestParsing")
quote PDF.parse_str("/Name#20With#20Spaces")
PDF.parse_str("/Name#20With#20Spaces")
quote PDF.parse_str("[ ]")
PDF.parse_str("[ ]")
quote PDF.parse_str("<<>>")
PDF.parse_str("<<>>")
quote PDF.parse_str("[true false null]")
PDF.parse_str("[true false null]")
quote PDF.parse_str("[[[[/nested]]]]")
PDF.parse_str("[[[[/nested]]]]")
quote PDF.parse_str("<< /A << /B << /C /D >> >> >>")
PDF.parse_str("<< /A << /B << /C /D >> >> >>")
quote PDF.parse_str("999999999999999999")
PDF.parse_str("999999999999999999")
quote PDF.parse_str("-0")
PDF.parse_str("-0")
quote PDF.parse_str("12345.678")
PDF.parse_str("12345.678")
quote PDF.parse_str("true")
PDF.parse_str("true")
quote PDF.parse_str("false")
PDF.parse_str("false")
quote PDF.parse_str("42 0 obj /Test endobj")
PDF.parse_str("42 0 obj /Test endobj")
quote PDF.parse_str("42 5 R")
PDF.parse_str("42 5 R")
quote PDF.parse_str("123 % This is a comment\n")
PDF.parse_str("123 % This is a comment\n")