mirror of
https://github.com/LazyDuchess/OpenTS2.git
synced 2025-01-23 00:31:47 -05:00
Fix comparison in DBPFFileSaveLoadTest
This commit is contained in:
parent
01a0891f75
commit
1fd5df251c
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
|||
using OpenTS2.Files.Formats.DBPF;
|
||||
using OpenTS2.Common;
|
||||
using System.IO;
|
||||
using UnityEngine;
|
||||
using System.Text;
|
||||
|
||||
public class DPBFFileTest
|
||||
|
@ -33,7 +32,7 @@ public class DPBFFileTest
|
|||
|
||||
// Test that the data returned matches.
|
||||
var data = package.GetBytesByTGI(dummyTGI);
|
||||
Assert.IsTrue(data == dummyResourceBytes);
|
||||
Assert.IsTrue(Encoding.ASCII.GetString(dummyResourceBytes) == Encoding.ASCII.GetString(data));
|
||||
|
||||
// Save the package to a file and dispose of it.
|
||||
package.WriteToFile();
|
||||
|
|
Loading…
Reference in a new issue