diff --git a/test/test_spec.lua b/test/test_spec.lua
index 939c805..0887d0e 100644
--- a/test/test_spec.lua
+++ b/test/test_spec.lua
@@ -35,27 +35,34 @@ describe("LuaX", function()
h(el))
end)
- it("should return a HTML string when given JSX like syntax 1", function()
+ it("should return a HTML string when given JSX like syntax", function()
local el = require("test.element")
assert.is.equal('
Hello, world!
', h(el))
end)
- it("should return a HTML string when given JSX like syntax 2", function()
+ it("should return a HTML string when given children prop", function()
local el = require("test.foo")
assert.is.equal('
foobar
', h(el))
end)
- it("should return a HTML string when given JSX like syntax 3", function()
+ it("should return a HTML string when given JSX like syntax with nested node", function()
local el = require("test.varin")
assert.is.equal(
'
Hello, world!
',
h(el))
end)
- it("should return a HTML string when given JSX like syntax 4", function()
+ it("should return a HTML string when given attributes with special characters", function()
local el = require("test.content")
assert.is.equal(
'',
h(el))
end)
+
+ it("should return a HTML string when given input node", function()
+ local el = require("test.input")
+ assert.is.equal(
+ '',
+ h(el))
+ end)
end)