From c9c0b23d750d6a6320629f2f7b722b1d3b2c1ddf Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 1 Oct 2023 12:54:48 +0530 Subject: lib/util: string_rm_vid_ext -> string_vid_path_to_name --- tests.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests.lua') diff --git a/tests.lua b/tests.lua index 76417d3..962a8c3 100755 --- a/tests.lua +++ b/tests.lua @@ -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 -- cgit v1.2.3