File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/CatLib.Core.Tests/Support/Stream Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ public void TestSeek()
118118 }
119119
120120 [ TestMethod ]
121- [ ExpectedException ( typeof ( NotSupportedException ) ) ]
122121 public void TestSetLength ( )
123122 {
124123 var stream = new PipelineStream ( 256 ) ;
@@ -134,19 +133,17 @@ public void TestSetPosition()
134133 }
135134
136135 [ TestMethod ]
137- [ ExpectedException ( typeof ( NotSupportedException ) ) ]
138136 public void TestGetPosition ( )
139137 {
140138 var stream = new PipelineStream ( 256 ) ;
141- var pos = stream . Position ;
139+ Assert . AreEqual ( 0 , stream . Position ) ;
142140 }
143141
144142 [ TestMethod ]
145- [ ExpectedException ( typeof ( NotSupportedException ) ) ]
146143 public void TestGetLength ( )
147144 {
148145 var stream = new PipelineStream ( 256 ) ;
149- var length = stream . Length ;
146+ Assert . AreEqual ( 0 , stream . Length ) ;
150147 }
151148 }
152149}
You can’t perform that action at this time.
0 commit comments