diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-10-01 12:54:48 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-10-01 13:02:32 +0530 |
commit | c9c0b23d750d6a6320629f2f7b722b1d3b2c1ddf (patch) | |
tree | 693c3b59e58a7533a9d49598a4886b1ce0809446 /tests.lua | |
parent | 861453ac25d3a5476dd8dc0e1bbe48874d8567af (diff) |
lib/util: string_rm_vid_ext -> string_vid_path_to_name
Diffstat (limited to 'tests.lua')
-rwxr-xr-x | tests.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,13 +6,13 @@ local util = require 'lib/util' local errs = 0 local test_subscene = function () - local out, ohash, name, rc + local out, ohash, path, rc out = os.tmpname() - name = util.string_rm_vid_ext('Fight Club (1999) (1080p BluRay x265 10bit Tigole) [QxR].mp4') + path = './dir/Fight Club (1999) (1080p BluRay x265 10bit Tigole) [QxR].mp4' ohash = 'ffec132e13e08f4c' - rc = subscene.search(name, out) + rc = subscene.search(path, out) if not rc then util.error('subscene: fetch failed') errs = errs + 1 |