Skip to content

Commit 3de5545

Browse files
Whitespace
1 parent 8150dfa commit 3de5545

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

UnityDataTool.Tests/UnityDataToolTests.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class UnityDataToolTests : AssetBundleTestFixture
1818
public UnityDataToolTests(Context context) : base(context)
1919
{
2020
}
21-
21+
2222
protected override void OnLoadExpectedData(Context context)
2323
{
2424
// Uncomment to regenerate expected data.
@@ -41,7 +41,7 @@ public void Teardown()
4141
file.Delete();
4242
}
4343
}
44-
44+
4545
[Test]
4646
public void ArchiveExtract_FilesExtractedSuccessfully()
4747
{
@@ -197,7 +197,7 @@ private void ValidateDatabase(string databasePath, bool withRefs)
197197
using (var cmd = db.CreateCommand())
198198
{
199199
cmd.CommandText =
200-
@"SELECT
200+
@"SELECT
201201
(SELECT COUNT(*) FROM animation_clips),
202202
(SELECT COUNT(*) FROM asset_bundles),
203203
(SELECT COUNT(*) FROM assets),
@@ -259,21 +259,21 @@ public void Teardown()
259259
file.Delete();
260260
}
261261
}
262-
262+
263263
[Test]
264264
public void Analyze_PlayerData_DatabaseCorrect()
265265
{
266266
var databasePath = Path.Combine(m_TestOutputFolder, "database.db");
267267
var analyzePath = Path.Combine(Context.UnityDataFolder);
268268

269269
Assert.AreEqual(0, Program.Main(new string[] { "analyze", analyzePath, "-r" }));
270-
270+
271271
using var db = new SQLiteConnection($"Data Source={databasePath};Version=3;New=True;Foreign Keys=False;");
272272
db.Open();
273273
using var cmd = db.CreateCommand();
274274

275275
cmd.CommandText =
276-
@"SELECT
276+
@"SELECT
277277
(SELECT COUNT(*) FROM asset_bundles),
278278
(SELECT COUNT(*) FROM assets),
279279
(SELECT COUNT(*) FROM objects),
@@ -290,7 +290,7 @@ public void Analyze_PlayerData_DatabaseCorrect()
290290
Assert.Greater(reader.GetInt32(3), 0);
291291
Assert.AreEqual(1, reader.GetInt32(4));
292292
}
293-
293+
294294
[Test]
295295
public void DumpText_PlayerData_TextFileCreatedCorrectly()
296296
{

UnityDataTool/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class Program
1414
public static int Main(string[] args)
1515
{
1616
UnityFileSystem.Init();
17-
17+
1818
var rootCommand = new RootCommand();
1919

2020
{
@@ -115,7 +115,7 @@ public static int Main(string[] args)
115115
}
116116

117117
var r = rootCommand.Invoke(args);
118-
118+
119119
UnityFileSystem.Cleanup();
120120

121121
return r;
@@ -129,7 +129,7 @@ enum DumpFormat
129129
static int HandleAnalyze(DirectoryInfo path, string outputFile, bool extractReferences, string searchPattern)
130130
{
131131
var analyzer = new AnalyzerTool();
132-
132+
133133
return analyzer.Analyze(path.FullName, outputFile, searchPattern, extractReferences);
134134
}
135135

@@ -225,4 +225,4 @@ static void CopyFile(string source, string dest)
225225
}
226226
while (actualSize == blockSize);
227227
}
228-
}
228+
}

0 commit comments

Comments
 (0)