name test method the same as the method under test

develop
myk002 2021-08-24 21:29:32 -07:00
parent 691e54dfc6
commit 9168f9359d
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -1,6 +1,6 @@
local expect_raw = require('test_util.expect')
function test.find()
function test.str_find()
expect.true_(expect_raw.str_find('a ', 'a str', 'a comment'))
local ok, comment, msg = expect_raw.str_find('ab', 'a str', 'a comment')