1 // tests that no weird errors are raised if break is called outside of a 2 // block 3 #[test] test_break_with_no_block()4fn test_break_with_no_block() { 5 let assigns = o!({ "i": 1 }); 6 let markup = "{% break %}"; 7 let expected = ""; 8 9 assert_template_result!(expected, markup, assigns); 10 } 11