File tree Expand file tree Collapse file tree
crates/microsoft-fast-build/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ fn test_root_custom_element_missing_binding_attr_omitted() {
634634 None ,
635635 ) . unwrap ( ) ;
636636 assert ! ( !result. contains( "text=" ) , "missing binding attr omitted: {result}" ) ;
637- assert ! ( result. contains( "<!--fe-b$$start$$0$$text-0$$fe-b-- ><!--fe-b$$end$$0$$text-0$$fe-b-- >" ) ) ;
637+ assert ! ( result. contains( "<!--fe:b-- ><!--fe:/b-- >" ) , "content binding marker: {result}" ) ;
638638}
639639
640640#[ test]
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ fn test_render_entry_with_locator_without_state_uses_empty_object() {
115115 let result = render_entry_with_locator_without_state ( "<my-el></my-el>" , & locator, None )
116116 . expect ( "render entry without state" ) ;
117117 assert ! ( result. contains( "<span>" ) , "shadow content rendered: {result}" ) ;
118- assert ! ( result. contains( "<!--fe-b$$start$$0$$label-0$$fe-b-- ><!--fe-b$$end$$0$$label-0$$fe-b-- >" ) ) ;
118+ assert ! ( result. contains( "<!--fe:b-- ><!--fe:/b-- >" ) , "content binding marker: {result}" ) ;
119119}
120120
121121// ── deeply nested property access ─────────────────────────────────────────────
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ fn test_hydration_missing_attribute_binding_omits_attribute() {
9898 ) . unwrap ( ) ;
9999
100100 let shadow = extract_shadow ( & result) ;
101- assert ! ( shadow. contains( "data-fe-c-0-2" ) , "compact marker: {result}" ) ;
101+ assert ! ( shadow. contains( r# "data-fe="2""# ) , "compact marker: {result}" ) ;
102102 assert ! ( shadow. contains( r#"type="text""# ) , "resolved attr: {result}" ) ;
103103 assert ! ( shadow. contains( r#"class="static""# ) , "static attr: {result}" ) ;
104104 assert ! ( !shadow. contains( "value=" ) , "missing attr omitted: {result}" ) ;
@@ -616,9 +616,9 @@ fn test_hydration_nested_element_missing_attr_binding_omits_attribute() {
616616 None ,
617617 ) . unwrap ( ) ;
618618
619- assert ! ( result. contains( "data-fe-c-0-1" ) , "attr binding marker remains: {result}" ) ;
619+ assert ! ( result. contains( r# "data-fe="1""# ) , "attr binding marker remains: {result}" ) ;
620620 assert ! ( !result. contains( "label=" ) , "missing attr omitted: {result}" ) ;
621- assert ! ( result. contains( "<!--fe-b$$start$$0$$label-0$$fe-b-- ><!--fe-b$$end$$0$$label-0$$fe-b-- >" ) ) ;
621+ assert ! ( result. contains( "<!--fe:b-- ><!--fe:/b-- >" ) , "content binding marker: {result}" ) ;
622622}
623623
624624// ── Unescaped triple-brace ────────────────────────────────────────────────────
You can’t perform that action at this time.
0 commit comments