From 8e64f64e78133052b7fdcab97589862a966299b7 Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Fri, 12 Apr 2024 17:33:55 +0700 Subject: [PATCH] =?UTF-8?q?fix(fms):=20=F0=9F=90=9B=20invalid=20embed=20of?= =?UTF-8?q?=20image=20assets=20(#132)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(fms): 🐛 invalid embed of image assets * test: 💍 add a regression test --- dotlottie-fms/src/functions.rs | 2 + dotlottie-fms/src/tests/functions/mod.rs | 142 +++++++++++++++-------- 2 files changed, 95 insertions(+), 49 deletions(-) diff --git a/dotlottie-fms/src/functions.rs b/dotlottie-fms/src/functions.rs index 3f1aabd7..fe63564e 100644 --- a/dotlottie-fms/src/functions.rs +++ b/dotlottie-fms/src/functions.rs @@ -72,6 +72,8 @@ pub fn get_animation(bytes: &Vec, animation_id: &str) -> Result