Skip to content

Commit

Permalink
Pending #399 & #400
Browse files Browse the repository at this point in the history
  • Loading branch information
S-S-X committed Feb 20, 2025
1 parent 8bcfa21 commit b46aa54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion technic/spec/api_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,13 @@ describe("Technic API", function()
assert.not_equals(data, nodedef)
-- Functions and objects should be equal to not limit creativity
assert.equals(test_function, nodedef.on_receive_fields)
assert.equals(imaginary_object, nodedef.any_imaginary_key)
--assert.equals(imaginary_object, nodedef.any_imaginary_key)
-- All properties should be similar while not necessarily equal
assert.same(imaginary_object, nodedef.any_imaginary_key)
assert.same(tiles, nodedef.tiles)
assert.same(tiles_active, nodedef.tiles_active)
assert.same(technic.digilines.rules_allfaces, nodedef.digilines.wire.rules)
pending("Waiting for #399 to be merged")
end)

it("registers my_mod:my_battery", function()
Expand Down
1 change: 1 addition & 0 deletions technic/spec/other_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ describe("Coal alloy furnace", function()
end

it("wont crash without placement callbacks", function()
pending("Waiting for #400 to be merged")
local node = { name = "technic:coal_alloy_furnace", param1 = 0, param2 = 0 }
world.nodes[core.hash_node_position(furnace_pos)] = node
assert.no_error(function()
Expand Down

0 comments on commit b46aa54

Please sign in to comment.