You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen by this scenario I am writing on different branch:
Scenario: Rejects one invalid argumentGiven a file named "rejects_one_invalid_argument.rb" with:
"""ruby require "./args_usage" puts Example.new.only_nums(42, "foo", 17, 24) """When I run `ruby rejects_one_invalid_argument.rb`
Then the output should contain:
""" : Contract violation for argument 1 of 4: (ParamContractError) Expected: (Args[Contracts::Builtin::Num]), Actual: "foo" Value guarded in: Example::only_nums With Contract: Args => Bool """
It should be either 1 of 1 (as in *args argument), or it should be 2 of 4 as in 2nd argument of all provided.
The text was updated successfully, but these errors were encountered:
As seen by this scenario I am writing on different branch:
It should be either
1 of 1
(as in*args
argument), or it should be2 of 4
as in 2nd argument of all provided.The text was updated successfully, but these errors were encountered: