Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values comparison fails after 2.3.0 #583

Closed
mitsuhiko opened this issue Sep 17, 2024 Discussed in #582 · 0 comments · Fixed by #584
Closed

Values comparison fails after 2.3.0 #583

mitsuhiko opened this issue Sep 17, 2024 Discussed in #582 · 0 comments · Fixed by #584
Labels
bug Something isn't working

Comments

@mitsuhiko
Copy link
Owner

Discussed in #582

Originally posted by pando85 September 17, 2024
Hello,

I'm using minijinja since 2.0.0 and it is wonderful. But in the last update my program tests where broken because something like this:

    #[test]
    fn test_minijinja() {
        let vars = context! {};
        let new_vars = context! {..vars.clone()};
        assert_eq!(vars, new_vars);
    }

Anyone could guide me about why in minijinja 2.2.0 this worked and now I get an error? Is this an intended behavior? Any workarounds?

Thanks!

@mitsuhiko mitsuhiko added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant