Commit 37303713 authored by Marc Gravell's avatar Marc Gravell

try to fix appveyor messaging

parent e9a9f7a6
...@@ -28,7 +28,7 @@ public static void IfMissingFeature(ConnectionMultiplexer conn, string feature, ...@@ -28,7 +28,7 @@ public static void IfMissingFeature(ConnectionMultiplexer conn, string feature,
var features = conn.GetServer(conn.GetEndPoints()[0]).Features; var features = conn.GetServer(conn.GetEndPoints()[0]).Features;
if (!check(features)) if (!check(features))
{ {
throw new SkipTestException(features + " is not supported on this server.") throw new SkipTestException($"'{feature}' is not supported on this server.")
{ {
MissingFeatures = feature MissingFeatures = feature
}; };
...@@ -38,7 +38,7 @@ public static void IfMissingFeature(ConnectionMultiplexer conn, string feature, ...@@ -38,7 +38,7 @@ public static void IfMissingFeature(ConnectionMultiplexer conn, string feature,
internal static void IfMissingDatabase(ConnectionMultiplexer conn, int dbId) internal static void IfMissingDatabase(ConnectionMultiplexer conn, int dbId)
{ {
var dbCount = conn.GetServer(conn.GetEndPoints()[0]).DatabaseCount; var dbCount = conn.GetServer(conn.GetEndPoints()[0]).DatabaseCount;
if (dbId >= dbCount) throw new SkipTestException($"Database {dbId} is not supported on this server."); if (dbId >= dbCount) throw new SkipTestException($"Database '{dbId}' is not supported on this server.");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment