Skip to content

Commit 02bc42c

Browse files
leandromoreiramanoelcampos
authored andcommitted
remove unused variable
1 parent ffec224 commit 02bc42c

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

spec/acceptance_test_spec.lua

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,6 @@ local simple_xml_with_attributes = [[<people>
2323
</people>
2424
]]
2525

26-
local simple_lua_string_xml = [[<people>
27-
<people type="legal">
28-
<salary>42.1</salary>
29-
<music like="true">
30-
31-
</music>
32-
<city>Brasília-DF</city>
33-
<name>Manoela</name>
34-
<age>42</age>
35-
</people>
36-
<people type="natural">
37-
<salary>42.1</salary>
38-
<music like="true">
39-
40-
</music>
41-
<city>Palmas-TO</city>
42-
<name>Manoel</name>
43-
<age>42</age>
44-
</people>
45-
</people>
46-
]]
47-
4826
describe("Acceptance tests", function()
4927
describe("From XML to lua table", function()
5028
it("parses tags and attributes", function()
@@ -75,11 +53,6 @@ describe("Acceptance tests", function()
7553
assert.is.truthy(string.find(string_xml, "Manoela"))
7654
assert.is.truthy(string.find(string_xml, "Manoel"))
7755
assert.is.falsy(string.find(string_xml, "Manuca"))
78-
79-
-- I intentionally did this test to show that the output will differ from the raw input
80-
-- things like single closed nodes
81-
-- this kind of test is hard to keep update when the use cases grow.
82-
-- assert.is.equals(simple_lua_string_xml, string_xml)
8356
end)
8457
end)
8558
end)

0 commit comments

Comments
 (0)