Skip to content

Commit

Permalink
restore test
Browse files Browse the repository at this point in the history
  • Loading branch information
shahrul committed Oct 12, 2024
1 parent 64624d8 commit 3a98494
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions test/test_ast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,63 +20,63 @@ package.path = package.path .. ";" .. getDir() .. "/?.lua"

local h = require('luax')

-- local div = require('test.1_div')
local div = require('test.1_div')

-- h(div)
h(div)

-- local node_value = require('test.2_node_value')
local node_value = require('test.2_node_value')

-- h(node_value)
h(node_value)

-- local content = require('test.4_content')
local content = require('test.4_content')

-- h(content)
h(content)

-- local element = require('test.5_element')
local element = require('test.5_element')

-- h(element)
h(element)

-- local foo = require('test.6_foo')
local foo = require('test.6_foo')

-- h(foo)
h(foo)

-- local input_with_con = require('test.7_input_with_con')
local input_with_con = require('test.7_input_with_con')

-- h(input_with_con)
h(input_with_con)

-- local module = require('test.8_input')
local module = require('test.8_input')

-- h(module.EditTodo({ editing = true, title = "task", id = "1" }))
h(module.EditTodo({ editing = true, title = "task", id = "1" }))

-- local input2 = require('test.9_input2')
local input2 = require('test.9_input2')

-- h(input2)
h(input2)

-- local linebreak = require('test.10_line_break')
local linebreak = require('test.10_line_break')

-- h(linebreak)
h(linebreak)

-- local props = require('test.11_props')
local props = require('test.11_props')

-- h(props)
h(props)

-- local test = require('test.12_test')
local test = require('test.12_test')

-- h(test)
h(test)

-- local varin = require('test.13_varin')
local varin = require('test.13_varin')

-- h(varin)
h(varin)

-- local page = require('test.14_page')
local page = require('test.14_page')

-- print(h(page.Page("todos")))
print(h(page.Page("todos")))

-- local title = require('test.15_title')
local title = require('test.15_title')

-- print(h(title))
print(h(title))

-- local p = require('test.16_p')
local p = require('test.16_p')

-- print(h(p))

Expand All @@ -89,7 +89,7 @@ local filters = {
local table = require('test.17_table')
print(h(table.Filter(filters)))

-- local f = require('test.18_filter')
-- print(h(f(filters)))
local f = require('test.18_filter')
print(h(f(filters)))


0 comments on commit 3a98494

Please sign in to comment.