Rust assert_eq panics despite both inputs looking the same

Question:
my call to assert_eq (this is in rust btw) panics despite both inputs being seemingly the same.

Repl link:
https://replit.com/@JacobMcPherson1/CandidVengefulTelephones
error takes place in src/parser/parser_test.rs

#[test]
    fn test3() {
        let input = "if true {
            print \"true\"
        }".to_string();

        let tokens = lex(input);

        let mut p = Parser { tokens: tokens, pos: 0 };

        let output = p.parse();

        let expected_output = vec![Node::_If(Box::new( Node::Bool( Token { r#type: "BOOL", value: TokenValue::Bool(true), line: 1 } ) ), Box::new(Node::Block( vec![ Node::Print( Box::new( Node::Str(Token { r#type: "STR", value: TokenValue::Str("\"true\"".to_string()), line: 1 }) ) ) ] )), Box::new(Node::New))];

        println!("{:?}", output);
        
        assert_eq!(output, expected_output)
    }

error output:

running 6 tests
test src::lexer::lexer_test::lexer_test::test1 ... ok
test src::lexer::lexer_test::lexer_test::test2 ... ok
test src::lexer::lexer_test::lexer_test::test3 ... ok
test src::parser::parser_test::parser_test::test1 ... ok
test src::parser::parser_test::parser_test::test2 ... ok
test src::parser::parser_test::parser_test::test3 ... FAILED

failures:

---- src::parser::parser_test::parser_test::test3 stdout ----
[if(bool((type: BOOL,  value: true)), block([print(str((type: STR, value: ("true"))))]), None)]
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `[if(bool((type: BOOL,  value: true)), block([print(str((type: STR, value: ("true"))))]), None)]`,
 right: `[if(bool((type: BOOL,  value: true)), block([print(str((type: STR, value: ("true"))))]), None)]`', src/src/parser/parser_test.rs:52:9
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /build/rustc-1.64.0-src/library/core/src/panicking.rs:181:5
   4: my_project::src::parser::parser_test::parser_test::test3
             at ./src/src/parser/parser_test.rs:52:9
   5: my_project::src::parser::parser_test::parser_test::test3::{{closure}}
             at ./src/src/parser/parser_test.rs:37:5
   6: core::ops::function::FnOnce::call_once
             at /build/rustc-1.64.0-src/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    src::parser::parser_test::parser_test::test3

test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass '--bin my-project'