File tree 1 file changed +3
-3
lines changed
src/TaglibSharp.Tests/FileFormats
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ public void TestPicturesAreCopied ()
159
159
file . Tag . Pictures = new [ ] { picture } ;
160
160
file . Save ( ) ;
161
161
162
- Assert . IsTrue ( file . Tag . Pictures . Count ( ) == 1 , "File should start with 1 picture" ) ;
162
+ Assert . IsTrue ( file . Tag . Pictures . Length == 1 , "File should start with 1 picture" ) ;
163
163
164
164
// Now construct a new tag with a title, APIC and GEOB frame
165
165
@@ -187,12 +187,12 @@ public void TestPicturesAreCopied ()
187
187
tag . CopyTo ( file . Tag , false ) ;
188
188
189
189
Assert . AreEqual ( "MP3 title" , file . Tag . Title , "Title shouldn't be copied if overwrite=false" ) ;
190
- Assert . AreEqual ( 1 , file . Tag . Pictures . Count ( ) , "GEOB/APIC frames shouldn't be copied if overwrite=false" ) ;
190
+ Assert . AreEqual ( 1 , file . Tag . Pictures . Length , "GEOB/APIC frames shouldn't be copied if overwrite=false" ) ;
191
191
192
192
tag . CopyTo ( file . Tag , true ) ;
193
193
194
194
Assert . AreEqual ( tag . Title , file . Tag . Title , "Title wasn't copied" ) ;
195
- Assert . AreEqual ( tag . Pictures . Count ( ) , file . Tag . Pictures . Count ( ) , "GEOB/APIC frames weren't copied" ) ;
195
+ Assert . AreEqual ( tag . Pictures . Length , file . Tag . Pictures . Length , "GEOB/APIC frames weren't copied" ) ;
196
196
}
197
197
}
198
198
}
You can’t perform that action at this time.
0 commit comments