mirror of
https://github.com/TangentFoxy/lua-htmlparser.git
synced 2025-07-28 02:52:19 +00:00
added travis; moved rockspecs; tests and docs modified
This commit is contained in:
16
tst/init.lua
16
tst/init.lua
@@ -1,7 +1,21 @@
|
||||
-- Omit next line in actual module clients; it's only to support development of the module itself
|
||||
package.path = "../src/?.lua;" .. package.path
|
||||
|
||||
local lunitx = require("lunitx")
|
||||
pcall(require, "luacov")
|
||||
|
||||
print("------------------------------------")
|
||||
print("Lua version: " .. (jit and jit.version or _VERSION))
|
||||
print("------------------------------------")
|
||||
print("")
|
||||
|
||||
local HAS_RUNNER = not not lunitx
|
||||
local TEST_CASE = lunitx.TEST_CASE
|
||||
|
||||
local LUA_VER = _VERSION
|
||||
local unpack, pow, bit32 = unpack, math.pow, bit32
|
||||
|
||||
local _ENV = TEST_CASE"some_test_case"
|
||||
|
||||
module("html", lunitx.testcase, package.seeall)
|
||||
|
||||
local htmlparser = require("htmlparser")
|
||||
|
Reference in New Issue
Block a user