server
This commit is contained in:
@@ -2,13 +2,14 @@ package builtins
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"monkey/internal/context"
|
||||
"monkey/internal/object"
|
||||
"monkey/internal/typing"
|
||||
"os"
|
||||
)
|
||||
|
||||
// Assert ...
|
||||
func Assert(args ...object.Object) object.Object {
|
||||
func Assert(ctx context.Context, args ...object.Object) object.Object {
|
||||
if err := typing.Check(
|
||||
"assert", args,
|
||||
typing.ExactArgs(2),
|
||||
|
||||
Reference in New Issue
Block a user