Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 81611c3

Browse files
committed
print more useful shape result
1 parent c83b2ce commit 81611c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ServiceStack.OrmLite.SqlServerTests/Converters/SpatialsTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ public void Can_insert_SqlGeography_and_SqlGeometry()
8181

8282
db.Insert(new GeoTest { Id = 1, Location = geo, Shape = shape });
8383

84-
var result = db.SingleById<GeoTest>(1);
84+
shape = db.SingleById<GeoTest>(1).Shape;
8585

86-
Assert.That(result, Is.Not.Null);
86+
Assert.That(shape, Is.Not.Null);
8787

88-
result.PrintDump();
88+
new { shape.STEndPoint().STX, shape.STEndPoint().STY }.PrintDump();
8989
}
9090
}
9191
}

0 commit comments

Comments
 (0)