I'm trying to test that a function returns three values, something like
local host, path, query = parse_url(url)
But it seems assert.is_equal only accepts one argument? What's the correct way to assert that the function returns the correct result? Do I need to write a custom matcher?
Hi,
I'm trying to test that a function returns three values, something like
But it seems
assert.is_equal
only accepts one argument? What's the correct way to assert that the function returns the correct result? Do I need to write a custom matcher?Thanks you very much!