Used new assertIs

squeeze-backports
Victor Seva 13 years ago
parent d2aafe02e7
commit 78147d6c18

@ -19,9 +19,9 @@ TestUtils = {} --class
end
function TestUtils:test_table_deepcopy()
assertNotEquals(table.deepcopy(self.simple_hash), self.simple_hash)
assertNotIs(table.deepcopy(self.simple_hash), self.simple_hash)
-- if the parameter is not a table... it has te be the same
assertEquals(table.deepcopy("hola"), "hola")
assertIs(table.deepcopy("hola"), "hola")
end
function TestUtils:test_table_contains()

Loading…
Cancel
Save