Skip to content

Commit 5e39e3c

Browse files
committed
Fix test Same to Equal
1 parent f44175e commit 5e39e3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/IntegrationTests/FluentTests/BasicFluentAssertionTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public void TestWindowsResize ()
4949
};
5050
using var c = With.A<Window> (40, 10)
5151
.Add (lbl )
52-
.Then (()=>Assert.Same(lbl.Frame.Width,38)) // Window has 2 border
52+
.Then (()=>Assert.Equal(lbl.Frame.Width,38)) // Window has 2 border
5353
.ResizeConsole (20,20)
54-
.Then (() => Assert.Same (lbl.Frame.Width, 18))
54+
.Then (() => Assert.Equal(lbl.Frame.Width, 18))
5555
.Stop ();
5656
}
5757

0 commit comments

Comments
 (0)