以下是调用存储过程的代码: SET@result=0;CALLexpect_literal_in('value1','value1,value2,value3',@result);SELECT@result; 1. 2. 3. 4. 这段代码调用了expect_literal_in存储过程,并传入参数value1和value1,value2,value3,最终会返回匹配结果。 类图 «存储过程»StorageProcedure+expect_literal_in(v...
expect.any(constructor)matches anything that was created with the given constructor. You can use it insidetoEqualortoBeCalledWithinstead of a literal value. For example, if you want to check that a mock function is called with a number: functionrandocall(fn){returnfn(Math....