소스 검색

Add test case.

tags/1.0.0
Vsevolod Stakhov 9 년 전
부모
커밋
d4193cd267
1개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  1. 20
    0
      test/lua/unit/html.lua

+ 20
- 0
test/lua/unit/html.lua 파일 보기

@@ -40,6 +40,26 @@ context("HTML processing", function()
</p>
</body>
</html>]], 'Hello, world!'},
{[[
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
<style><!--
- -a -a -a -- --- -
--></head>
<body>
<!-- page content -->
Hello, world! <b>test</b>
<p>data<>
</P>
<b>stuff</p>?
</body>
</html>
]], 'Hello, world! test data stuff?'},
}
for _,c in ipairs(cases) do

Loading…
취소
저장