Skip to content

Commit

Permalink
fixup! Test Engine wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
dottorblaster committed Feb 17, 2023
1 parent fba689e commit d73ba06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/rhai/engine_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ defmodule Rhai.EngineTest do
end

test "should set the flag to false" do
engine = Engine.new()

refute Engine.new() |> Engine.set_allow_anonymous_fn(false) |> Engine.allow_anonymous_fn?()
end
end
Expand All @@ -94,6 +92,7 @@ defmodule Rhai.EngineTest do
end
end

# FIXME: At the moment Rhai has a wrong default for this one, disabling the test until it gets fixed upstream
# describe "set_allow_loop_expressions/2, allow_loop_expressions/1" do
# test "should return true by default" do
# engine = Engine.new()
Expand Down

0 comments on commit d73ba06

Please sign in to comment.