From f3aed21aea35457467e0f52d727c7671314c6a5f Mon Sep 17 00:00:00 2001 From: ochenstarik-ui Date: Mon, 10 Aug 2026 13:35:50 +0700 Subject: [PATCH] style: fix trailing whitespace in SchemaCompatibilityTests.cs --- .../SchemaCompatibilityTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/ServerMonitorManager.Control.Tests/SchemaCompatibilityTests.cs b/tests/ServerMonitorManager.Control.Tests/SchemaCompatibilityTests.cs index ba98a1c..272aae0 100644 --- a/tests/ServerMonitorManager.Control.Tests/SchemaCompatibilityTests.cs +++ b/tests/ServerMonitorManager.Control.Tests/SchemaCompatibilityTests.cs @@ -15,7 +15,7 @@ public sealed class SchemaCompatibilityTests { // Try to find the alpha7.db file which should be generated by CI var dbPath = Path.GetFullPath(Path.Combine(System.AppContext.BaseDirectory, "..", "..", "..", "..", "..", "tests", "acceptance", "alpha7.db")); - + if (!File.Exists(dbPath)) { // Skip the test locally if the file hasn't been generated @@ -28,16 +28,16 @@ public sealed class SchemaCompatibilityTests var command = connection.CreateCommand(); command.CommandText = "PRAGMA user_version;"; var userVersion = Convert.ToInt64(await command.ExecuteScalarAsync()); - + Assert.True(userVersion > 0, "Database user_version should be greater than 0"); - + // 2. Open it with the current ControlStore to see if data reads correctly and it doesn't crash var store = new ControlStore(Options.Create(new ControlOptions { DatabasePath = dbPath })); await store.InitializeAsync(CancellationToken.None); - + // 3. Test that we can read from it var links = await store.ListEffectiveLinksForNodeAsync("nonexistent", CancellationToken.None); Assert.Empty(links); - + } }