File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 55
66namespace UnitTest . Components ;
77
8- public class ScrollTest : TestBase
8+ public class ScrollTest : BootstrapBlazorTestBase
99{
1010 [ Fact ]
1111 public void Height_Ok ( )
@@ -31,20 +31,20 @@ public void ScrollWidth_Ok()
3131 builder . Add ( a => a . Width , "500px" ) ;
3232 } ) ;
3333
34- Assert . Equal ( "<div class= \" scroll \" style=\" width: 500px; --bb-scroll-width: 5px; --bb-scroll-hover-width: 5px;\" ></div> ", cut . Markup ) ;
34+ Assert . Contains ( " style=\" width: 500px; --bb-scroll-width: 5px; --bb-scroll-hover-width: 5px;\" ", cut . Markup ) ;
3535
3636 cut . SetParametersAndRender ( builder =>
3737 {
3838 builder . Add ( a => a . ScrollWidth , 6 ) ;
3939 } ) ;
40- Assert . Equal ( "<div class= \" scroll \" style=\" width: 500px; --bb-scroll-width: 6px; --bb-scroll-hover-width: 5px;\" ></div> ", cut . Markup ) ;
40+ Assert . Contains ( " style=\" width: 500px; --bb-scroll-width: 6px; --bb-scroll-hover-width: 5px;\" ", cut . Markup ) ;
4141
4242 cut . SetParametersAndRender ( builder =>
4343 {
4444 builder . Add ( a => a . ScrollWidth , 6 ) ;
4545 builder . Add ( a => a . ScrollHoverWidth , 12 ) ;
4646 } ) ;
47- Assert . Equal ( "<div class= \" scroll \" style=\" width: 500px; --bb-scroll-width: 6px; --bb-scroll-hover-width: 12px;\" ></div> ", cut . Markup ) ;
47+ Assert . Contains ( " style=\" width: 500px; --bb-scroll-width: 6px; --bb-scroll-hover-width: 12px;\" ", cut . Markup ) ;
4848 }
4949
5050 [ Fact ]
You can’t perform that action at this time.
0 commit comments