]> gitweb.factorcode.org Git - factor.git/blob - extra/html5/html5-tests.factor
calendar.format: make duration>human-readable more human readable
[factor.git] / extra / html5 / html5-tests.factor
1 ! Copyright (C) 2020 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: html5 kernel multiline tools.test ;
4 IN: html5.tests
5
6 ![===[
7 { } [ "&" parse-html5 ] unit-test
8
9
10 [[ <!DOCTYPE html>
11 <html>
12 <head>
13 <title>Title</title>
14 </head>
15
16 <body>
17 The content
18 </body>
19
20 </html>]] parse-html5
21 ]===]
22
23
24
25 { } [
26 [[ <!DOCTYPE html>
27 <html>
28 <head>
29 </head>
30
31 <body>
32 The content
33 </body>
34
35 </html>]] parse-html5 drop
36 ] unit-test
37