Skip to content

Commit

Permalink
refactor: update assertion to use templated method for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
gvozdvmozgu authored and benfdking committed Dec 21, 2024
1 parent 191f68c commit 1fb290e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/lib/src/templaters/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 1fb290e

Please sign in to comment.