From 1fb290e8ca3e85e8dc470e1527582cecbdf8bece Mon Sep 17 00:00:00 2001 From: gvozdvmozgu Date: Fri, 20 Dec 2024 16:19:16 -0800 Subject: [PATCH] refactor: update assertion to use templated method for clarity --- crates/lib/src/templaters/python.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/lib/src/templaters/python.rs b/crates/lib/src/templaters/python.rs index 508f5fa6..2696ae7d 100644 --- a/crates/lib/src/templaters/python.rs +++ b/crates/lib/src/templaters/python.rs @@ -253,7 +253,7 @@ blah = foo .process(PYTHON_STRING, "test.sql", Some(&config), &None) .unwrap(); - assert_eq!(templated_file.to_string(), "SELECT * FROM foo"); + assert_eq!(templated_file.templated(), "SELECT * FROM foo"); } #[test]